What is the best alternative IDE for Delphi (.NET)

10,093

Solution 1

You can of course edit source files outside of the Delphi IDE. When you switch back to the IDE it will notice that files have been changed outside of it, and ask you whether to reload them (if they are currently opened in the editor). This is a safe thing to do if you never edit inside the IDE, but to keep the confirmations from appearing it is best to not have source files open in the Delphi editor at all while you edit them in emacs.

Even if you use a custom build script and build the project from emacs you should still keep the project file up-to-date. When you use the debugger in the IDE it will usually first compile the project. To have this always work (even with visual form or frame inheritance) a correct project file is crucial. It is also important for debugging when you have several source files with the same name in different directories that are in your search / browse path, or if you have not all your source directories in the search / browse path.

Whatever tools you use for editing or otherwise changing your source files, make sure that you always have DOS style CR+LF line endings (\r\n, #13#10) in all lines, as LF only (\n, #10) tends to confuse the IDE - you will notice that the blue dots in the debugger are out of sync with the source lines, and that compiler error line numbers are wrong. Using sed or awk on source files can be a big time saver, but be sure to use the tools compiled for Win32, and not those provided with (for example) the cygwin environment.

Solution 2

One thing you can do is to put in GExperts to make your life better. alt text
(source: gexperts.org)

alt text
(source: gexperts.org)

Solution 3

Emacs does appear to have a Delphi editing mode, which is probably a good starting point if you're trying to get up and running.

Solution 4

I do know that the FreePascal editor called Lazarus can be a nice replacement.

Although it's not compatible with the VCL, so it would only be feasibly for a new project.

Solution 5

If your main problem is the low speed of Delphi 2007 IDE, then use DelphiSpeedUp.

Share:
10,093
Mark Pim
Author by

Mark Pim

CS graduate from York.

Updated on June 03, 2022

Comments

  • Mark Pim
    Mark Pim almost 2 years

    I work in Delphi 2007 (both win32 and .Net) but the CodeGear IDE frequently annoys me, so if possible I'd like to find a replacemnt.

    We have a build script so I can compile from the command line and I very rarely do any GUI designing, so the only thing I need is a text editor (with syntax highlighting, Autocomplete/Intellisense ...).

    I would like to use Visual Studio or Emacs but don't know how feasible it is to work on Delphi code in those environments. Particularly debugging - can the Delphi IDE still act as my debugger even if I don't use it for editing?

    Does anyone have any experience of breaking away from RAD studio?

    P.S. I am aware of the new Delphi Prism but that won't solve my problems - I still need to work in vanilla Delphi and use the Delphi 2007 compiler.

  • Mark Pim
    Mark Pim about 15 years
    We already use GExperts and you're right, it's incredibly useful. +1
  • Joel
    Joel about 15 years
    I've used EditPad Pro and it is great. I was going to suggest it as a solution.
  • Marco van de Voort
    Marco van de Voort about 15 years
    Don't forget the textmode IDE. (The turbo thing). I mainly use it for small cmdline utils. It has many modern features.