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

后端 未结 12 1954
难免孤独
难免孤独 2021-02-07 12:40

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 com

相关标签:
12条回答
  • 2021-02-07 13:37

    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.

    0 讨论(0)
  • 2021-02-07 13:37

    One option is EditPad Pro. I haven't tried the product, but I know the vendor is reliable.

    0 讨论(0)
  • 2021-02-07 13:42

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

    0 讨论(0)
  • 2021-02-07 13:42

    ConText or EditPad Pro both offer syntax highlighting for Delphi code, as do many other programmers editors (they sometimes call it Pascal though). I've used both of those though, and they work really well. I use them when I want to open code fragments or samples.

    They both have a nice feature of being able to associate specific commands with certain file types. So you could associate the Delphi command-line compiler or your build script with your source files to allow you to build, run unit tests, etc. from there. I've done similar with other command line compilers, but frankly I really like the Delphi IDE so have had no need to try to replace it.

    0 讨论(0)
  • 2021-02-07 13:44

    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.

    0 讨论(0)
  • 2021-02-07 13:44

    I use CodeFactor, but unfortunately it's no longer available.

    Delphi 2009 is a pretty big improvement, even over Delphi 2007, so if you've got the means, that might help a lot.

    0 讨论(0)
提交回复
热议问题