On Wed, May 7, 2008 at 2:57 PM, Andrew Moore &lt;<a href="mailto:amoore@mooresystems.com">amoore@mooresystems.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, May 07, 2008 at 02:35:04PM -0500, Sterling Hanenkamp wrote:<br>
&gt; I guess I don&#39;t understand what&#39;s limited about either vim or emacs. Both<br>
<br>
</div>They don&#39;t understand perl, so it is limited in its ability to help me<br>
write it better. It can&#39;t make completion suggestions based on my<br>
current context. It can&#39;t help me refactor my code very well. It can&#39;t<br>
do a lot of things that an active editor for other languages can do.<br>
<br>
For instance, if I have a CGI object, which is an object with a<br>
&quot;param&quot; method, I should be able to type:<br>
<br>
$cgi-&gt;par</blockquote><div><br>This is what ctags are for in vim and I believe emacs as well. Here&#39;s a perl module for helping out in Vim:<br><br><a href="http://search.cpan.org/dist/Perl-Tags/">http://search.cpan.org/dist/Perl-Tags/</a><br>
<br>Also for Vim there&#39;s the Perl-support module which does a number of things. I don&#39;t use it since I didn&#39;t like it when I last tried it a year or two ago, but here&#39;s another helpful Perl plugin for vim:<br>
<br><a href="http://vim.sourceforge.net/scripts/script.php?script_id=556">http://vim.sourceforge.net/scripts/script.php?script_id=556</a><br><br>These features do exist in vim and I&#39;m pretty certain similar ones exist in emacs. You do have to go through the additional effort of installing and configuring the modules.<br>
<br>I should also point out that I don&#39;t use ctags or this kind of autocompletion on purpose because I find it encourages me to be too lazy and I start forgetting things. (I&#39;m not suggesting that&#39;s the case for everyone, but it is my problem. I also have a tendency to write code that is generated on the fly, which makes such completion even more difficult.) I am not sure how well these things parse and work, but from past experience, I do know they work somewhat. I believe Komodo and EPIC for Eclipse also provide autocompletion for Perl where it can.</div>
</div><br>So, such things do exist, but they may not work as well as one would want (seriously, what does?). If you have an idea for improving them, go hack! :)<br><br>Cheers,<br>Sterling<br>