Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

funky IDE

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Why is the word "abbreviation" so long? And this ad is so short?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic