perl 编辑器/IDE 类似于 C 的源洞察
我最近开始使用 Perl。谷歌搜索显示了许多编辑器,但我无法找到可以帮助我浏览大量 Perl 源代码的编辑器。我正在寻找的功能之一是 IDE 能够与不同的模块集成并允许我从一个模块跳转到另一个模块。如果可能的话,如果人们能够看到哪个函数调用了什么,也会有所帮助。 我使用 Source Insight 进行 C 编程,它提供了这些非常有用的功能。我正在寻找 perl 中的类似功能。
感谢帮助
I have recently started working with Perl. Googling reveals a number of editors but I am unable to find an editor that will help me navigate a large body of Perl source code. One of the features that I am looking for is the ability of the IDE to integrate with different modules and allow me to jump from one to another. If possible, it will also help if one can see the which function calls what.
I used source insight for C programming and it provides these very useful features. Am looking for similar features in perl.
Help appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
你看过Padre吗?它是由 Perl 社区开发的 Perl IDE。
Have you looked at Padre? It is a Perl IDE developed by the Perl community.
我只是给 EPIC 一个机会。
http://www.epic-ide.org/
它是一个使用强大 IDE 的 Eclipse 插件。我认为使用 EPIC 相对于 Padre 的优点是 eclipse 可以处理各种语言,而且我不必每次都习惯多个不同的编辑器。
Perl 编程的另一个好方法是使用 emacs。是的……它很老了,但我在接触 Perl 时感到非常高兴。
铜
罗马
I'm just giving EPIC a chance.
http://www.epic-ide.org/
Its an Eclipse plugin utilizing a mighty IDE. The advantage I see in using EPIC over Padre is the fact that eclipse can do all sorts of languages and I don't have to get used to multiple different editors every time.
Another great aproach for Perl programming is using emacs. Yes ... its old but I had quite some joy while getting into Perl.
cu
Roman
Active State 的 Komodo IDE 也相当不错。我没有使用过任何其他 Perl IDE,因此无法进行比较。我相信您正在寻找的大多数功能都可以在科莫多中找到。
附带说明:我在 Komodo 中最欣赏的功能是可视化调试。
Komodo IDE, from Active State is also quite good. I haven't used any other Perl IDEs so cannot make comparisons. Most of the features that you are looking for I believe are available in Komodo.
On a side note: The feature that I most appreciated in Komodo was visual debugging.
我主要使用 jEdit 进行 Perl 编程。
但是没有太多东西可以给您提供从 Eclipse 获得的简单的 Shift+单击导航。 jEdit 可以通过 Beanshell 宏(以及 JavaScript、Python 和 JRuby...) 100% 编程。所以,你可以自己做一些。所以会涉及到工作。
例如,它已经足够接近,我可以创建“选择宏”,该宏将允许对突出显示或插入符号的包或名称执行某些操作。例如,打开包名称指示的模块。
Navigator 插件至少会记住您上次浏览文件的位置。
所以这不会让您一路到达您想去的地方,但它会带您走一些路,而且只需 0 美元。
请记住,此建议附带警告。我发现 EPIC 不太适合我的使用标准。
I mainly use jEdit for Perl programming.
But there's not much to give you that easy Shift+click navigation you get from Eclipse. jEdit is 100% programmable through Beanshell macros (and JavaScript and Python and JRuby...). So, you can do some of this yourself. So there would be work involved.
For example, it been close enough for me to create "Selection macros" that will allow certain actions on the package or name either highlighted or at the caret. For example, open up the module indicated by the package name.
The Navigator plugin will at least remember where you were last across files.
So this won't get you all the way you'd want to go, but it will get you some of the way, and for $0.
Just remember that this recommendation comes with caveats. I have found EPIC quite sub-standard for my use.