Home Download Buy Blog Forum Support

Question about Find in Project

Question about Find in Project

Postby rbabiak on Tue Feb 02, 2010 6:43 am

Is there a way to make it find what is selected by default? Or even better the word under the cursor?

ie i select a function name, then hit ctrl+shift+p and the function name is in the find field.
rbabiak
 
Posts: 37
Joined: Sun Oct 25, 2009 12:33 pm

Re: Question about Find in Project

Postby jps on Tue Feb 02, 2010 7:40 am

You can press ctrl+e to copy the selected text into the find panel, or set the option find.useSelectedText to true (via Preferences/General Preferences) to have it happen automatically when you open the panel.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Question about Find in Project

Postby EJ12N on Tue Feb 09, 2010 10:41 pm

---
ctrl+f3 = look up word under cursor (forward)
shift+f3 = look up word under cursor (backwards)
alt +f3 = select all occurrences of word under cursor :)
ctrl+i = incremental search
ctrl+shift+i = reverse incremental search

ctrl+e = copy word under cursor in find textfield
ctrl+shift+e = copy word under cursor in replace textfield
These 2 above wont open the find/replace panel so do ctrl+f (for find only) or ctrl+h (for find&replace) you will see the words there.

Happy editing :D
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Question about Find in Project

Postby rbabiak on Mon Feb 15, 2010 8:37 am

I have find prev/next under cursor mapped to alt-Up and alt-down. This makes it easy to see where a identifier is used in the code, being able to do this is actually a make or break feature for any editor i use.
rbabiak
 
Posts: 37
Joined: Sun Oct 25, 2009 12:33 pm

Re: Question about Find in Project

Postby EJ12N on Mon Feb 15, 2010 7:20 pm

Just for reference for future users: You can change all these shortcuts to your own preference and taste. To whatever you are used to. They are all customizable.
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 8 guests