最佳 Fortran IDE

发布于 2024-09-14 07:44:06 字数 1491 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

苍景流年 2024-09-21 07:44:06

好吧,正如其他人已经提到的,您可以使用单独的文本编辑器来代替 IDE。我想到了几个;

  1. VIM(或系列之一)- 强大的编辑功能,非常可定制。可惜还是编辑器
    不是IDE。当然,它可以通过多种方式进行定制,但过了一段时间就会变得无聊。此外,它的语法突出显示功能有些错误。自由/固定格式和 f77/f90/f95 ...

  2. Emacs - 与上述几乎相同的优点/缺点。

  3. SlickEdit - 具有非常好的 fortran 支持;不幸的是,修改它有点烦人,而且支持论坛也没有多大帮助。

一般来说,上面提到的编辑器都可以使用,但在这种情况下,最好从一开始就选择一个并坚持使用;随时改变您的工作习惯;因为定制一切以满足您的需求可能非常耗时。

大多数编辑器都对 Fortran 语法有问题,因为他们习惯了 C 语言(其中“打开”的所有内容都有“关闭”)。

就 IDE 而言,您的选择并不是那么好:

  1. Silverfrost 的编译器曾经附带它自己的 IDE(Plato,如果我没记错的话;已经有一段时间了)- 不知道它发生了什么,以及它是否仍然存在是“活着的”
  2. Absoft 也有它自己的一个(从来没有使用过它......)
  3. 我曾经遇到过一个专门的 fortran 编辑器;是的...某事;不幸的是我不记得它的名字了;也许其他人会知道
  4. 最好的选择之一(我自己曾经使用过,所以我可能有偏见)是Visual Studio + Resharper,它将为VS的编辑器添加一些编辑功能。其中大多数也可以通过宏来完成。

这篇文章需要一些编辑,但写得太匆忙,所以......

Well, as others already mentioned you could use instead of an IDE a separate text editor. Several come to mind;

  1. VIM (or one of the family) - great editing capabilities, very customizable. Unfortunatelly, it is still an editor
    not an IDE. It can be customized in a variety of ways of course, but that gets boring after a while. Also, it's syntax highlighting capabilities are somewhat wrongly made. Also has some problems/confusions with free/fixed format and f77/f90/f95 ...

  2. Emacs - pretty much same advantages/shortcomings as the above.

  3. SlickEdit - has very nice fortran support; unfortunatelly, modifying it is a little annoying and the support forums are not much help.

In general, editors like the above mentioned can be used, but in that case it is best to choose one from the start and stick to it; modifying your work habits as you go; since customizing everything can be time consuming to suit your needs.

Most editors have problems with fortran's syntax, since they're used to C's (where everything that "opens" has a "close").

As far as IDE's goes, your options are not that great:

  1. Silverfrost's compiler used to come with it's own IDE (Plato, if I do remember correctly; it's been a while) - don't know what happened to it, and whether it still is "alive"
  2. Absoft has one of it's own as well (never used it so ...)
  3. There was a specialized fortran editor I once encountered; ya...something; unfortunatelly I cannot remember it's name; maybe someone else will know
  4. One of the best options (which I used to use myself, so I may be biased) is Visual Studio + Resharper, which will add a few editing features to VS's editor. Most of them can also be accomplished with macros.

This post could use some editing but it is written in a hurry, so ...

假面具 2024-09-21 07:44:06

吉尼也不错。我将它用于 Fortran 中的小项目。效果也不错。

http://www.geany.org/

Geany is nice too. I use it for my small projects in Fortran. Works pretty good too.

http://www.geany.org/

·深蓝 2024-09-21 07:44:06

I've never used it, but according to the documentation, the NetBeans C/C++ plugin also adds support for Fortran. I use NetBeans as my IDE for everything except .NET development and love it. If Fortran support is half as good as support for C, C++, Java, Python, Ruby, and PHP, then it is worth looking at.

心如荒岛 2024-09-21 07:44:06

许多 Fortran 开发人员使用文本编辑器以及一些构建自动化工具,例如 CMake 或 SCons。部分原因是缺乏功能齐全的 IDE。

不过也有一些项目。我尝试过 Photran,用于 Eclipse 的 Fortran IDE。它对自动完成和重构的支持有限。

另请查看 Code::Blocks IDE for Fortran。我不喜欢 Code::Blocks...

Many Fortran developers use text editors plus some build automation tool like CMake or SCons. Partially because of lack of well-featured IDE.

However there are some projects. I've tried Photran, Fortran IDE for Eclipse. It has limited support for autocomplete and refactoring.

Also take a look at Code::Blocks IDE for Fortran. I do not like Code::Blocks...

过期以后 2024-09-21 07:44:06

我们使用 Visual Studio 的内部扩展来完成 Fortran 代码的代码并协助我们进行调试。但即便如此,仍有很大的改进空间。我们的主要问题是:

  • 视觉工作室的不稳定。调试程序中的错误可能会导致 VS 崩溃。
  • 有时 VS 显示损坏的堆栈跟踪(而 WinDBG 显示正确)。
  • 调试器不会显示 CHARACTER(LEN=:) 类型的变量值,
  • 不支持 ALLOCATABLE 编辑并继续

我们使用 Sun Workshop,它非常好,但没有 Windows 版本。

We use an in-house extension to visual studio to get code completion for our fortran code and to assist us with debugging. But even so there is a lot of room for improvement. Our main issues are:

  • instability of visual studio. An error in the debugged program can crash VS.
  • sometimes VS shows corrupted stacktraces (while WinDBG shows it correctly).
  • debugger wont show values of variables of type CHARACTER(LEN=:), ALLOCATABLE
  • Edit and Continue not supported

We used Sun workshop and it was very good, but there is no windows version.

唯憾梦倾城 2024-09-21 07:44:06

jedit 有一个很好的 Fortran 模式,您可以为编译器和调试器定义键绑定。
对于中小型项目来说这是相当不错的。它还具有 svn 和多个文件搜索。超级搜索也非常好,您可以在其中获得匹配列表,并且只需单击一下即可转到该位置。另一个好东西是 gdb 和 ctags 的插件。您可以使用 jython 轻松编写所有函数的脚本。感觉有点像现代版本的 emacs,使用 python 而不是 lisp。查看插件管理器。它允许您从服务器下载所有插件并为您安装它们(就像在 Eclipse 中一样)。

http://www.jedit.org

jedit has a nice fortran mode and you can define keybindings for the compiler and debugger.
for small to medium sized projects it is quite nice. it also has svn and multiple files search. also very nice is hypersearch where you get a list of you matches and you can go to the position with a single click. another goodie is a plugin for gdb and for ctags. you can very easily script all functions using jython. it feels a little bit like a modern version of emacs that uses python instead of lisp. check out the plugin manager. it lets you download all the plugins from the server and installs them for you (like in eclipse).

http://www.jedit.org

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文