Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
Thanks a lot Ed.

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


Current Time: Wed Jul 23 11:16:07 EDT 2025

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

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

Back to the top