comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL source editor alternatives?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL source editor alternatives? [message #44398] Tue, 14 June 2005 15:06 Go to next message
Mark Hadfield is currently offline  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 #44400 is a reply to message #44398] Tue, 14 June 2005 11:47 Go to previous messageGo to next message
Robert Moss is currently offline  Robert Moss
Messages: 74
Registered: February 1996
Member
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. 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 :)

--
Robert Moss, PhD
Re: IDL source editor alternatives? [message #44406 is a reply to message #44400] Tue, 14 June 2005 08:52 Go to previous messageGo to next message
Rick Towler is currently offline  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 #44407 is a reply to message #44406] Tue, 14 June 2005 08:44 Go to previous messageGo to next message
Miguel Angel Cordoba is currently offline  Miguel Angel Cordoba
Messages: 13
Registered: April 2004
Junior Member
You can use jedit (www.jedit.org)

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
>
>
>


--
_________________________________________________________
Miguel Angel Cordoba
---------------------------------------------------------
Grup de Recerca Aplicada en Hidrometeorologia (GRAHI-UPC)
http://www.grahi.upc.edu
---------------------------------------------------------
Centre membre de la Xarxa d'Innovacio Tecnologica XIT
http://www.cidem.com/xarxait
_________________________________________________________
Re: IDL source editor alternatives? [message #44412 is a reply to message #44407] Tue, 14 June 2005 07:39 Go to previous messageGo to next message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
Craig wrote:
> Thanks for the suggestions, guys. I've resisted Emacs so far, but it
> looks like it'll be worth learning now.
>
> Craig
>

Here http://refcards.com/refcards/index.html you can find some refcards.
It can help you starting with emacs.

--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
Re: IDL source editor alternatives? [message #44413 is a reply to message #44412] Tue, 14 June 2005 07:24 Go to previous messageGo to next message
Craig[1] is currently offline  Craig[1]
Messages: 8
Registered: June 2005
Junior Member
Thanks for the suggestions, guys. I've resisted Emacs so far, but it
looks like it'll be worth learning now.

Craig
Re: IDL source editor alternatives? [message #44415 is a reply to message #44413] Tue, 14 June 2005 06:08 Go to previous messageGo to next message
Benjamin Hornberger is currently offline  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 #44418 is a reply to message #44415] Tue, 14 June 2005 04:59 Go to previous messageGo to next message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 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
>

For *nix use Emacs with IDLwave mode. Simply incredible !!!

--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
Re: IDL source editor alternatives? [message #44483 is a reply to message #44406] Wed, 15 June 2005 04:48 Go to previous message
Craig[1] is currently offline  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
>
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: launching many widgets at the same time
Next Topic: x error bars in Curvefit / MPFIT

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:12:59 PDT 2025

Total time taken to generate the page: 0.00648 seconds