Welcome to the Monastery | |
PerlMonks |
Re^2: [EMACS] "Emacs as Perl IDE" - Abstract for YAPC::EU 2016by LanX (Saint) |
on Jul 18, 2016 at 14:40 UTC ( [id://1167974]=note: print w/replies, xml ) | Need Help?? |
Hooray a discussion! :) First, let me say that the term "IDE" is very poorly defined (see my old discussion ) and the individual requirements vary immensely. The beauty of Emacs is its scalability as a weapon to attack problems, from light dagger to heavy battle cruiser. Otherwise I would recommend something like Komodo.
perldb> Never used it inside Emacs, (and hardly outside it) Neither do I, well as long as I have full control of the code. Stepping with breakpoints can be very handy with foreign code > Do you have the ability to jump from a debug line to the source file? The source file is always visible and the current line marked. like here http://www.khngai.com/emacs/emacsperl.gif There is also perldb-ui.el but I haven't tested it yet. see perldb.png
flymake-mode> have major issues with these, since my setup (everything is in local::lib), gives me "module not found" errors. that's not the editors fault, you either have to define lib with the of perl -c command like you would on the command line or set up use lib properly.
Yasnippet> Not my style of programming, Well I'm very critical of boilerplating, most problems could be better solved with appropriate modules. But textmate's snippet format also comes with the ability to include interactive code (elisp or Perl calls or...) and choice menus (like e.g. 'rw', 'ro', ... for Moose attributes) It offers an open standard for extensions which is editor agnostic.
Auto Complete> I know some also like company-mode, I have to look into this... > which can be used to force a code-style across the company (hence the name), which is a good counter argument to those that claim perl is unsuitable for large companies/projects. Doesn't this contradict your later claim that Perl doesn't need an IDE??? ;-)
ECB = Emacs Code Browser> Is this really beneficiary for perl programming? 1. Many people identify IDE with a certain Eclipse_(software) "look", with different panes. The graphical experience of different panes gives them the feeling of uncharted territories to explore. Having a pane where all subs are listed is certainly beneficial for a beginner who doesn't know how to activate imenu . And we have to admit that in the learning phase clicking on an icon and experimenting is easier than reading documentation. 2. ECB is neatly addressing the second biggest problem˛ of Emacs, the window management (it took me ages before I discovered winner-undo). You can define your personal layout(s) and the editing panes will never be destroyed or divided. All compilation output and occur parsing and other things will be directed to the compilation window only. 3. ECB comes with an overhead but I only activate it when needed (please try to use something like Komodo on a netbook or over SSH on a TTY) and I switch between different self defined layouts (like one showing the currently important file from my testsuite with result).
Vision> As for the vision, I just don't thing perl needs an IDE. Emacs is not an IDE it's an IDE construction set! TIMTOWTDI and heaving a bundle which can be easily customized for your personal needs could be beneficial for Emacs users and the Perl community in total. I don't have hubris to solve anyone's personal requirements, I want to have the basis for a solid discussion.
Cheers Rolf
==== footnote ˛) the first being the byzantine key bindings
In Section
Meditations
|
|