Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » newbie question
newbie question [message #44065] Thu, 30 January 2003 16:37 Go to next message
Eclipse UserFriend
Originally posted by: colin.chalmers.xs4all.nl

Hi all,

I'm just getting to grips with things so plz be gentle.

I'm writing the imports I need but instead of going all the way to the
actual class I need Eclipse quickly fills in .*; before I have the chance to
lookup the class.

ie

by utilising the "." I get

import javax.swing.*;

instead of

import javax.swing.JButton;

Can I configure this anywhere.

Using a recent *stable* build

Thx

/c
Re: newbie question [message #44096 is a reply to message #44065] Thu, 30 January 2003 17:00 Go to previous message
Jon Skeet is currently offline Jon SkeetFriend
Messages: 67
Registered: July 2009
Member
Colin Chalmers <colin.chalmers@xs4all.nl> wrote:
> I'm just getting to grips with things so plz be gentle.
>
> I'm writing the imports I need but instead of going all the way to the
> actual class I need Eclipse quickly fills in .*; before I have the chance to
> lookup the class.
>
> ie
>
> by utilising the "." I get
>
> import javax.swing.*;
>
> instead of
>
> import javax.swing.JButton;
>
> Can I configure this anywhere.
>
> Using a recent *stable* build

This is more suited to the eclipse.tools group, but if you go into
Window | Preferences | Java | Organise Imports it lets you specify how
many imports to use per package before it puts .* there instead.

I would personally not bother writing the imports directly - just hit
Ctrl+Shift+O every so often and they'll magically appear :)

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Re: newbie question [message #589570 is a reply to message #44065] Thu, 30 January 2003 17:00 Go to previous message
Jon Skeet is currently offline Jon SkeetFriend
Messages: 67
Registered: July 2009
Member
Colin Chalmers <colin.chalmers@xs4all.nl> wrote:
> I'm just getting to grips with things so plz be gentle.
>
> I'm writing the imports I need but instead of going all the way to the
> actual class I need Eclipse quickly fills in .*; before I have the chance to
> lookup the class.
>
> ie
>
> by utilising the "." I get
>
> import javax.swing.*;
>
> instead of
>
> import javax.swing.JButton;
>
> Can I configure this anywhere.
>
> Using a recent *stable* build

This is more suited to the eclipse.tools group, but if you go into
Window | Preferences | Java | Organise Imports it lets you specify how
many imports to use per package before it puts .* there instead.

I would personally not bother writing the imports directly - just hit
Ctrl+Shift+O every so often and they'll magically appear :)

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Previous Topic:newbie question
Next Topic:eclipse SWT based Applicatin deploy
Goto Forum:
  


Current Time: Thu Jan 02 19:29:17 GMT 2025

Powered by FUDForum. Page generated in 0.03444 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top