Re: IDL source editor alternatives? [message #44398] |
Tue, 14 June 2005 15:06  |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Robert Moss wrote:
> Benjamin Hornberger wrote:
>
>> You also have to live with the annoyances that IDLDE opens every file
>> you compile in the editor, that the cursor sometimes jumps from the
>> command line to the editor window and that IDLDE pops up windows
>> saying that your source code has been changed from outside IDLDE.
>
>
> That's odd, because I have been using IDLDE for ages on Windows and I do
> not recall ever seeing IDLDE open every file I compile in the editor.
Neither do I, but that's probably because I have never compiled a file
from the command line (well, hardly ever). I just tried it and it *does*
do as Benjamin said.
> I
> have had IDLDE pop and tell me that my source code has been changed from
> outside IDLDE, but that was always because I had changed it :)
Yes. This is a feature, not a bug.
What I do on Windows is always open files for editing in IDLDE. Then if
I have any volume of work to do, press the magic, user-defined key
combination to open the file in Xemacs. I edit the file there and when I
want to compile, close it and return to IDLDE. This kindly tells me the
file has changed. I compile and debug if necessary there.
The Unix people are going to cringe, but this works very well for me. I
never get confused about which editor has the latest changes (well,
hardly ever).
--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
|
Re: IDL source editor alternatives? [message #44406 is a reply to message #44400] |
Tue, 14 June 2005 08:52   |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
I like jEdit the java based "programmers" text editor. www.jedit.org
It has support for a wide range of languages and a ton of plug ins.
You can pick up the idl_pvwave jedit files from:
http://www.acoustics.washington.edu/~towler/programs/jedit_i dlfiles.zip
I haven't updated the package for 6.2, yet, and the pvwave in the name
is not to imply that there is any real pvwave support but to
differentiate the package from the interface definition language IDL
package.
-Rick
Craig wrote:
> Hi all,
>
> Is there a better alternative to using the IDLDE source code editor (in
> v6.1, Windows XP)? I'm finding that tabs don't always go to the same
> place, so lining-up
> bits of code becomes a matter of fiddling with additional spaces on
> each line, rather than just highlighting a block and using tab or
> shift-tab. I'd really like to be able to just highlight a block and
> press ctrl-I (like in Matlab), so that all of the indentation is done
> automatically. Maybe I've been spoilt, but it doesn't half make
> understanding someone else's code a lot easier! Of course, any
> alternative will need to be downloadable free of charge :-)
>
> TIA,
> Craig
>
|
|
|
|
|
|
Re: IDL source editor alternatives? [message #44415 is a reply to message #44413] |
Tue, 14 June 2005 06:08   |
Benjamin Hornberger
Messages: 258 Registered: March 2004
|
Senior Member |
|
|
Craig wrote:
> Hi all,
>
> Is there a better alternative to using the IDLDE source code editor (in
> v6.1, Windows XP)? I'm finding that tabs don't always go to the same
> place, so lining-up
> bits of code becomes a matter of fiddling with additional spaces on
> each line, rather than just highlighting a block and using tab or
> shift-tab. I'd really like to be able to just highlight a block and
> press ctrl-I (like in Matlab), so that all of the indentation is done
> automatically. Maybe I've been spoilt, but it doesn't half make
> understanding someone else's code a lot easier! Of course, any
> alternative will need to be downloadable free of charge :-)
>
> TIA,
> Craig
>
I use Emacs / IDLWAVE on Win XP. You have to switch over to IDLDE to
compile and run your code though. You also have to live with the
annoyances that IDLDE opens every file you compile in the editor, that
the cursor sometimes jumps from the command line to the editor window
and that IDLDE pops up windows saying that your source code has been
changed from outside IDLDE. These things are inconvenient, but it's
still better than using the IDLDE editor, I think.
Benjamin
|
|
|
|
Re: IDL source editor alternatives? [message #44483 is a reply to message #44406] |
Wed, 15 June 2005 04:48  |
Craig[1]
Messages: 8 Registered: June 2005
|
Junior Member |
|
|
Looks very interesting, I might try that instead of emacs.
Craig
Rick Towler wrote:
> I like jEdit the java based "programmers" text editor. www.jedit.org It
> has support for a wide range of languages and a ton of plug ins.
>
> You can pick up the idl_pvwave jedit files from:
>
> http://www.acoustics.washington.edu/~towler/programs/jedit_i dlfiles.zip
>
> I haven't updated the package for 6.2, yet, and the pvwave in the name
> is not to imply that there is any real pvwave support but to
> differentiate the package from the interface definition language IDL
> package.
>
> -Rick
>
>
|
|
|