Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Ctrl+shift+o not working correctly
Ctrl+shift+o not working correctly [message #930286] Tue, 02 October 2012 03:09 Go to next message
manish chandra is currently offline manish chandra
Messages: 4
Registered: March 2012
Junior Member
Hi,

When I use ctrl+shift+o, import adds "src." to what I expect.

Like, if I expect
import com.xyz;

ctrl+shift+o gives me

import src.com.xyz;

Please tell me whats the reason.

Manish

Re: Ctrl+shift+o not working correctly [message #930304 is a reply to message #930286] Tue, 02 October 2012 03:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26014
Registered: July 2009
Senior Member
Manish,

If you look at the Properties of your Java project and in particular at
the Java Build Path's Source tab, it should point at your src folder,
not at the parent of that folder; otherwise all path segments, including
that src segment, will be interpreted as part of the qualified package name.


On 02/10/2012 9:09 AM, manish chandra wrote:
> Hi,
>
> When I use ctrl+shift+o, import adds "src." to what I expect.
>
> Like, if I expect
> import com.xyz;
>
> ctrl+shift+o gives me
>
> import src.com.xyz;
>
> Please tell me whats the reason.
>
> Manish
>
>
Re: Ctrl+shift+o not working correctly [message #930309 is a reply to message #930304] Tue, 02 October 2012 03:35 Go to previous message
manish chandra is currently offline manish chandra
Messages: 4
Registered: March 2012
Junior Member
Thanks a lot Ed.

Manish
Previous Topic:JSP Editor Problem..
Next Topic:Referenced projects and code assist
Goto Forum:
  


Current Time: Fri Aug 29 16:38:16 EDT 2014

Powered by FUDForum. Page generated in 0.01689 seconds