Skip to main content


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 07:09 Go to next message
manish chandra is currently offline manish chandraFriend
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 07:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
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
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Ctrl+shift+o not working correctly [message #930309 is a reply to message #930304] Tue, 02 October 2012 07:35 Go to previous message
manish chandra is currently offline manish chandraFriend
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: Wed Apr 24 21:35:02 GMT 2024

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

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

Back to the top