Can "File Search" Results show Function Names ?

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Can "File Search" Results show Function Names ?

Postby gdurniak » Wed Jul 10, 2013 2:16 pm

My JS files often contain multiple Functions

Is there any way to show which Function a line of code is in, in the Search Results ?

greg
File Shoppe
gdurniak
 
Posts: 232
Joined: Thu Jul 08, 2004 7:25 pm
Location: Bayside, NY, USA

Re: Can "File Search" Results show Function Names ?

Postby jgarfield » Wed Jul 10, 2013 3:02 pm

The closest I've gotten to this is to have your "Outline" view open while browsing your Search Results. Use the Search Results to navigate to a particular piece of code, and the outline should tell you (highlight) what function you're in.

It becomes slightly more effective if you turn on "Show Source of Selected Element Only" while you are browsing the results as well.
Programmer.
adBlocks
http://www.adblocks.com
jgarfield
 
Posts: 223
Joined: Wed Sep 28, 2005 9:02 pm
Location: Boston, US

Re: Can "File Search" Results show Function Names ?

Postby jcompagner » Mon Jul 15, 2013 10:39 am

file search is just what it is, it is a plain text file search over everything (or over your scope)
it doesn't understand that it can also be some kind of structured thing.
Besides that File search is plain eclipse that's nothing of servoy
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 5 guests