• Post Reply 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

auto class import in Eclipse

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am using Eclipse 3.x IDE for java development and I am unable to setup a simple feature i.e., automatically add class "import"s to the java code. As of now I have to use crtl+shift+m to achieve this.
I used Jdeveloper before and in that IDE as and when I type a class name in the code it popsup a window asking to add an import. Is this possible in Eclipse?

Thanks,
Sanchi
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I know, auto completion (ctrl-space) should also automatically add imports, shouldn't it? Mhh, perhaps you will need to configure it in the preferences (it's somewhere under Java/Editor).
 
reply
    Bookmark Topic Watch Topic
  • New Topic