Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Find a class
Find a class [message #335124] Mon, 23 March 2009 20:59 Go to next message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
In IntelliJ, it is very easy to find a class of a given name.
One enters ctrl-n, then types in the name of the class, and you are
presented with a list.

Eclipse does not appear to have anything so convenient.
The best I can find is:
Search -> Java -> Type

Is this is, or is there a faster way?
Re: Find a class [message #335126 is a reply to message #335124] Mon, 23 March 2009 21:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Al,

You mean like content assist, Ctrl-Space by default, in the editor or a
hot key like Ctrl-Shift-T for searching all classes that's generally
available in the perspective?


Al wrote:
> In IntelliJ, it is very easy to find a class of a given name.
> One enters ctrl-n, then types in the name of the class, and you are
> presented with a list.
>
> Eclipse does not appear to have anything so convenient.
> The best I can find is:
> Search -> Java -> Type
>
> Is this is, or is there a faster way?
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Find a class [message #335128 is a reply to message #335126] Mon, 23 March 2009 23:05 Go to previous messageGo to next message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
thank you
Re: Find a class [message #335144 is a reply to message #335126] Tue, 24 March 2009 08:10 Go to previous messageGo to next message
Madhu Samuel is currently offline Madhu SamuelFriend
Messages: 199
Registered: July 2009
Senior Member
You can also check the menu 'Help > Key Assist' to get the rest of the
short cuts. There are lot of convenient short cuts available.

Ed Merks wrote:

> Al,

> You mean like content assist, Ctrl-Space by default, in the editor or a
> hot key like Ctrl-Shift-T for searching all classes that's generally
> available in the perspective?


> Al wrote:
>> In IntelliJ, it is very easy to find a class of a given name.
>> One enters ctrl-n, then types in the name of the class, and you are
>> presented with a list.
>>
>> Eclipse does not appear to have anything so convenient.
>> The best I can find is:
>> Search -> Java -> Type
>>
>> Is this is, or is there a faster way?
>>
>>
>>


Re: Find a class [message #335146 is a reply to message #335144] Tue, 24 March 2009 08:40 Go to previous messageGo to next message
Adam Lucarz is currently offline Adam LucarzFriend
Messages: 518
Registered: July 2009
Senior Member
Doesn't Al want something like "Open Resource" by CTRL+SHIFT+R? This is
my preferred way to find a class.

Adam

Madhu Samuel schrieb:
> You can also check the menu 'Help > Key Assist' to get the rest of the
> short cuts. There are lot of convenient short cuts available.
>
> Ed Merks wrote:
>
>> Al,
>
>> You mean like content assist, Ctrl-Space by default, in the editor or
>> a hot key like Ctrl-Shift-T for searching all classes that's generally
>> available in the perspective?
>
>
>> Al wrote:
>>> In IntelliJ, it is very easy to find a class of a given name.
>>> One enters ctrl-n, then types in the name of the class, and you are
>>> presented with a list.
>>>
>>> Eclipse does not appear to have anything so convenient.
>>> The best I can find is:
>>> Search -> Java -> Type
>>>
>>> Is this is, or is there a faster way?
>>>
>>>
>>>
>
>
Re: Find a class [message #335156 is a reply to message #335146] Tue, 24 March 2009 12:09 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Adam,

Given he explicitly said "find a class" I have to assume that the extra
files provided by Ctrl-Shift-R would be noisy rather than helpful. I
used this only to find things other than .java files, and yes, for that
it's very useful!


Adam Lucarz wrote:
> Doesn't Al want something like "Open Resource" by CTRL+SHIFT+R? This
> is my preferred way to find a class.
>
> Adam
>
> Madhu Samuel schrieb:
>> You can also check the menu 'Help > Key Assist' to get the rest of
>> the short cuts. There are lot of convenient short cuts available.
>>
>> Ed Merks wrote:
>>
>>> Al,
>>
>>> You mean like content assist, Ctrl-Space by default, in the editor
>>> or a hot key like Ctrl-Shift-T for searching all classes that's
>>> generally available in the perspective?
>>
>>
>>> Al wrote:
>>>> In IntelliJ, it is very easy to find a class of a given name.
>>>> One enters ctrl-n, then types in the name of the class, and you are
>>>> presented with a list.
>>>>
>>>> Eclipse does not appear to have anything so convenient.
>>>> The best I can find is:
>>>> Search -> Java -> Type
>>>>
>>>> Is this is, or is there a faster way?
>>>>
>>>>
>>>>
>>
>>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Find a class [message #335192 is a reply to message #335156] Wed, 25 March 2009 14:43 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Also if the class is an inner class, Ctrl+Shift+R won't help :-)

- Prakash
--

http://blog.eclipse-tips.com
Previous Topic:Resizing code assist pop-ups - Ubuntu
Next Topic:workingSets and headless environments
Goto Forum:
  


Current Time: Tue Apr 16 18:38:23 GMT 2024

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

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

Back to the top