Bookmark Topic Watch Topic
  • New Topic

funky IDE

 
Marcus Deviln
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Report post to moderator
My eclipse IDE sucks. When I type some code in the scrapbook it gives me this message "invalid syntax import delete this token" It always seems to give me an error message. I then type the code in netbeans and it compiles.
 
Henry Wong
author
Marshal
Pie
Posts: 21427
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator

Eclipse works fine here... Maybe you have a config issue? Anyway, what would you like done?

If you like to try to resolve this issue, I can move this topic to the IDE forum for you.

If you are just venting... then let us know too, so we'll know that you don't need any help here.

Henry
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Marcus --

Eclipse scrapbook pages aren't meant to contain complete Java translation units, just short snippets of executable code. You can't type import statements or package statements, among other things.

Instead, to import classes to a scrapbook page, right-click to get the context menu, and pick "Set imports".
 
Marcus Deviln
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Report post to moderator
Mr. wong you can delete my posting or otherwise dispose of it. I think the other gentleman enlightened me that I was expecting too much of the scrapbook. I still have a lot to learn about using these IDE's
 
    Bookmark Topic Watch Topic
  • New Topic