Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

IDE for windows with remote linux dev site...

by suaveant (Parson)
on Aug 15, 2008 at 19:54 UTC ( #704607=perlquestion: print w/replies, xml ) Need Help??
suaveant has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for editors that are designed to run on Windows(and Linux, would be nice) that can do all the fancy IDE stuff like syntax checking, debugging and program running etc over a remote link to a Linux dev site.

I've been playing with EPIC in Eclipse which is a nice enough IDE but you can only (so far as I found) edit remote files using RSE and debug remotely by jumping through hoops. I tried running eclipse from the dev site but remote X is painful. NX is ok but still a bit annoying for regular use.

It seems to me this must be a relatively common issue for people, has anyone found a good solution?

                - Ant
                - Some of my best work - (1 2 3)

  • Comment on IDE for windows with remote linux dev site...

Replies are listed 'Best First'.
Re: IDE for windows with remote linux dev site...
by Joost (Canon) on Aug 15, 2008 at 20:02 UTC
    Emacs can do most of this, and runs more or less anywhere relevant. Recent versions (those that support tramp) support editing remote files over an SSH connection. Not sure about remote debugging for perl, though it's definitely possible in theory - the Emacs Slime environment for Common Lisp does it (and quite a bit more - like sending function declarations etc to a running process from the edit buffer).

    See this emacswiki page.

Re: IDE for windows with remote linux dev site...
by SouthFulcrum (Sexton) on Aug 15, 2008 at 21:22 UTC
    I've only used Komodo Edit (the free one), but the full version says it does remote debugging. I really like Komodo and I've been thinking about shelling out the $295 for it. The remote debugging is one of of the justifications.
Re: IDE for windows with remote linux dev site...
by Tanktalus (Canon) on Aug 16, 2008 at 05:26 UTC

    I've had developers try to do the develop-and-test-on-different-boxes thing. I've not seen it be really productive. Theory has it that KDE's KIO should make it transparent to KDE apps, but even then, I'm not convinced it's a good idea.

    Better, in my experience, is use an X server (such as Exceed) or remote-desktop (such as VNC) to really work on the box you want to test on. Nothing says "headache" like banging your head against the wall for an hour or two only to realise that you missed a step (such as copying the file to the right place, or testing on the wrong machine).

    There just are so many more issues when dealing cross-machine. It's far better to avoid it, so you can concentrate on the actual task, rather than the environment. My 2 cents, anyway.

      Well, theoretically with a good system it handles those steps. For instance when I save in eclipse it is immediately saved to the remote system as well, but yes, it can be a bit of a pain.

      I tried running eclipse over remote X (Cygwin's X is better than Exceed and free, btw) but it was dog slow. Using NX it is usable but still a bit lagging when using menus and the like, but a possibility.

                      - Ant
                      - Some of my best work - (1 2 3)

Re: IDE for windows with remote linux dev site...
by cormanaz (Chaplain) on Aug 15, 2008 at 21:30 UTC
    I second the Komodo recommendation. Earlier versions had some challenges with staying connected to the remote server, but the latest one works great. I use it on windoze to edit remote files in Linux all the time. There is a Linux version too in case you want to edit directly from the Linux box.

    Now if they could just get it to do remote debugging on Linux too...

      I have used Komodo since version 2.x, and I ugpraded to 3.5 and while it has been better than most stuff. The amount of improvements that have gone into new versions and the $300 price tag made me stop considering it for upgrades.

      The Linux version, for example, has problems when using hotkeys for commands. The syntax checking can be erratic and the remote access tools sucked. I know these are problems with 3.5, but they were problems in 2.x as well. I tried 4.0 Edit version, but then that had some of the same problems AND it was crippled(so you would purchase the Full version). I could pay $300 to get the complete features, but when I keep seeing the same problems with different versions, I am not really willing to shell out that kind of money.

        I used to be a Komodo tribesman and still use 3.5. However, with the change to 4.0 Active State dropped the "personal" price and really haven't provided any real incentive to upgrade. I've lost faith in them. Eventually I'll upgrade one of the pro versions we have at work in the hope that it is a little more stable debugging Perl and doesn't lose the plot after a modest number of files have been opened.

        There are a lot of things to like about Komodo, but there are a lot of rough edges - mostly in terms of bugs that really should have been fixed. I still tend to use it as my default editor for text files, even to the extent of copy and pasting between Visual Studio and Komodo so I can reformat comments in Komodo before pasting them back into Visual Studio (my main work environment).

        Sigh, maybe someone from Active State will listen and reinstate the personal price, but I doubt it. But if they do, I'll probably get the two work copies upgraded too.

        Perl reduces RSI - it saves typing
Re: IDE for windows with remote linux dev site...
by Popcorn Dave (Abbot) on Aug 15, 2008 at 23:48 UTC
    If you want to edit the file on a remote machine, would a VNC program do the trick for you so you could just do all your work on the remote machine from whatever machine you were on? Or did I misunderstand what you're trying to do?

    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://704607]
Approved by Joost
marioroy concurrent Tie::File among many workers is possible via MCE::Shared.
marioroy Ditto for DB_File, BerkeleyDB, etc. ;-)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2017-08-18 07:45 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (296 votes). Check out past polls.