views:

2337

answers:

3

My company gave me VS2008 for web development in C#/ASP.NET. I do a lot of Perl programming too and I'd like to start using VS for that so I can have a consistent work environment... but am having real trouble figuring out how to do so.

VS has a lot of nice features but seems pretty hostile towards languages it doesn't support out of the box. Is it really or do I just not "get" the VS way of doing things?

I usually write Perl scripts using TextPad and the features I'm used to having are pretty basic.

  1. line numbering
  2. soft line wrapping
  3. syntax highlighting
  4. auto-indenting in/out after open/close brace
  5. auto-indenting to the same starting point as the previous line
  6. brace matching
  7. run scripts from within the editor
  8. capture script output in an editor pane
  9. dbl-click on error message jumps to the line where the error occurred

How do I at least get the above features in VS2008?

How can I get advanced features like:

  • code folding
  • intellisense
  • code-completion
  • integrated perldoc
  • VS-style debugging and code tracing
  • on-the-fly error detection
  • etc

(I see one possibly relevant online discussion in an ASPN mod-perl mailing list , but don't understand what, if anything, it means to a guy like me.)

-- added --
I'm aware of other editors and IDEs out there: vi, perlmode-emacs, Komodo, E, TextMate, etc. This question is not about what other editor or IDE I should try.
While I appreciate your suggestions, I'd rather read them in a thread like "What editor should I use for Perl" and not "How do I set up VS to accomplish my goal"

-- added -- After doing some additional research I've concluded that you just can't get there from here. The only option would be to write my own language plugin. Considering the time commitment to make something usable I think I'm just better off using a different editor. Thanks anyway guys

+3  A: 

I use VS2008 for .NET stuff, but I'm completely sold on Komodo for Perl editing. The full Komodo IDE is worth the money if this is your job and like/need to use a debugger, but even the free Komodo Edit is a terrific Perl editor.

jimtut
+1  A: 

I agree, I really like Komodo as well for an IDE. Its solid and easy to use. I tend to use Vim a lot instead of an IDE, but that's just personal preference.

Check out Komodo though, its worth the look.

Regards,

Jeff

numberwhun
A: 

I heard rumors of there being a .NET implementation of Perl, called IronPerl, but except for that, I don't think there is any sort of plugin for Visual Studio. I would suggest just using one of the many tools out there that are designed for Perl.

Nick