Re: Full text searching of IDL code libraries? [message #68983] |
Thu, 10 December 2009 05:08 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
jkeller writes:
> Do you know where to find some info/tutorial about working with the
> bench? ;)
>
> I have been using IDL for 8 years now and never get used to the whole
> IDLDE/workbench thing. Just the command line and Xemacs did work out
> quite well, but hey: Learn something new every day ;)
Oh, well, if you are an EMACS guy, you have everything
you need (and more!) right there. I wouldn't bother with
the Workbench. The Workbench is only for those of us too
dense to ever learn EMACS. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Full text searching of IDL code libraries? [message #68985 is a reply to message #68983] |
Thu, 10 December 2009 02:18  |
jkeller
Messages: 35 Registered: October 2009
|
Member |
|
|
Do you know where to find some info/tutorial about working with the
bench? ;)
I have been using IDL for 8 years now and never get used to the whole
IDLDE/workbench thing. Just the command line and Xemacs did work out
quite well, but hey: Learn something new every day ;)
Regards,
Jan
|
|
|
Re: Full text searching of IDL code libraries? [message #68996 is a reply to message #68985] |
Wed, 09 December 2009 14:34  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jared Espley writes:
> I don't have any projects
Say what!? How is it possible to use the IDL Workbench
*without* projects? Wow. Learn something new every day. ;-)
Cheers,
David
P.S. Projects are just about the best thing about the
IDL Workbench, as long as you don't let the projects
manage your IDL path.
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Full text searching of IDL code libraries? [message #68997 is a reply to message #68996] |
Wed, 09 December 2009 14:15  |
Jared Espley
Messages: 17 Registered: February 2006
|
Junior Member |
|
|
On Dec 9, 12:25 pm, jeanh
<jghasb...@DELETETHIS.environmentalmodelers.ANDTHIS.com> wrote:
> Hi,
>
> well, hum, it is not that hard...
>
> 1)select a file in your project
> 2)go the the search menu / search (ctrl + H)
> 3)in "containing text", put your search string
> 4)in "scope", select "enclosed project" (to search only on the current
> project, or "workspace" to search for all files. Alternatively, click on
> "working set", then "choose" then "new". You can them select all the
> projects or individual files that interest you
> 5)click "search" or on "replace" The search results appear in a new
> window and the "replace" dialog box let you process entry by entry, file
> by file.
>
> Jean
I don't have any projects. I tried understanding this new way of
using IDL when I got IDL 7 forced on me but I didn't make headway
after some meager effort. Instead, I just keep my IDL path updated
and compile things and keep my directories manually organized. Thus
when I try to use the IDL search function none of the options under
'scope' turn up any of my files.
Wingrep worked great. Thanks David.
|
|
|
|
Re: Full text searching of IDL code libraries? [message #69007 is a reply to message #69000] |
Wed, 09 December 2009 09:25  |
jeanh
Messages: 79 Registered: November 2009
|
Member |
|
|
Jared Espley wrote:
> I have a simple question. I have a bunch of IDL routines. I want to
> search them for where a particular word ("longitude" in this case)
> shows up in the code. I tried using the IDL 7.0 workbench search
> function but it didn't work. I tried using the operating system
> search function and thought about using Google desktop search; these
> appear to only work if I change every .pro file to be a .txt file.
>
> My current thought is to take the time finally figure out how the IDL
> 7 workbench actually works so that I can understand when the search
> looks through a "workspace" or "workset" I know what that means and
> why it doesn't work. I'd prefer to continue working in my old school
> ignorance since I have other things I need to get done today. I know,
> I know. I can hear the "Give a man a fish, feed him once. Teach a man
> to fish..." mantra starting up already.
>
> Any other suggestions? Thanks.
>
> Jared
Hi,
well, hum, it is not that hard...
1)select a file in your project
2)go the the search menu / search (ctrl + H)
3)in "containing text", put your search string
4)in "scope", select "enclosed project" (to search only on the current
project, or "workspace" to search for all files. Alternatively, click on
"working set", then "choose" then "new". You can them select all the
projects or individual files that interest you
5)click "search" or on "replace" The search results appear in a new
window and the "replace" dialog box let you process entry by entry, file
by file.
Jean
|
|
|
Re: Full text searching of IDL code libraries? [message #69008 is a reply to message #69007] |
Wed, 09 December 2009 09:06  |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Dec 9, 2:06 pm, Jared Espley <jesp...@gmail.com> wrote:
> I have a simple question. I have a bunch of IDL routines. I want to
> search them for where a particular word ("longitude" in this case)
> shows up in the code. I tried using the IDL 7.0 workbench search
> function but it didn't work. I tried using the operating system
> search function and thought about using Google desktop search; these
> appear to only work if I change every .pro file to be a .txt file.
>
> My current thought is to take the time finally figure out how the IDL
> 7 workbench actually works so that I can understand when the search
> looks through a "workspace" or "workset" I know what that means and
> why it doesn't work. I'd prefer to continue working in my old school
> ignorance since I have other things I need to get done today. I know,
> I know. I can hear the "Give a man a fish, feed him once. Teach a man
> to fish..." mantra starting up already.
>
> Any other suggestions? Thanks.
>
> Jared
It is not full text search, but I tend to use IDLDoc's search. It
searches on comments, arguments, file and routine names, and tells in
the results which kind of matches were found.
|
|
|
Re: Full text searching of IDL code libraries? [message #69011 is a reply to message #69008] |
Wed, 09 December 2009 09:03  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Jared Espley schrieb:
> I have a simple question. I have a bunch of IDL routines. I want to
> search them for where a particular word ("longitude" in this case)
> shows up in the code. I tried using the IDL 7.0 workbench search
> function but it didn't work. I tried using the operating system
> search function and thought about using Google desktop search; these
> appear to only work if I change every .pro file to be a .txt file.
does it help to define the extension pro as mimetype text/plain?
>
> My current thought is to take the time finally figure out how the IDL
> 7 workbench actually works so that I can understand when the search
> looks through a "workspace" or "workset" I know what that means and
> why it doesn't work. I'd prefer to continue working in my old school
> ignorance since I have other things I need to get done today. I know,
> I know. I can hear the "Give a man a fish, feed him once. Teach a man
> to fish..." mantra starting up already.
>
> Any other suggestions? Thanks.
>
> Jared
grep or kfind if you have a linux box
cheers
Reimar
|
|
|
Re: Full text searching of IDL code libraries? [message #69012 is a reply to message #69011] |
Wed, 09 December 2009 08:17  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jared Espley writes:
> I have a simple question. I have a bunch of IDL routines. I want to
> search them for where a particular word ("longitude" in this case)
> shows up in the code. I tried using the IDL 7.0 workbench search
> function but it didn't work. I tried using the operating system
> search function and thought about using Google desktop search; these
> appear to only work if I change every .pro file to be a .txt file.
>
> My current thought is to take the time finally figure out how the IDL
> 7 workbench actually works so that I can understand when the search
> looks through a "workspace" or "workset" I know what that means and
> why it doesn't work. I'd prefer to continue working in my old school
> ignorance since I have other things I need to get done today. I know,
> I know. I can hear the "Give a man a fish, feed him once. Teach a man
> to fish..." mantra starting up already.
I use Windows Grep, one of the great pieces of software
out there!
http://www.wingrep.com/
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|