Reputation: 2173
Does anyone know if there is an extension or plugin for Visual Studio (any version) that will recognize Perl syntax highlighting? I want to edit the Perl files in my vs projects, but it gets hard to read sometimes.
Upvotes: 33
Views: 37349
Reputation: 132858
Visual Studio Update 1 RTM now (2015) has Perl support, along with Go, Java, R, Ruby, and Swift.
Upvotes: 13
Reputation: 4573
A workaround for Visual Studio desktop version is to use C++ syntax highlighting.
If necessary, repeat the same steps for "cgi" extension.
Upvotes: 0
Reputation: 902
A work-in-progress Visual Studio extension for Perl6 (not the Perl5 asked by the OP) is incrementally more full-featured. It is released under the MIT License and its repository is on GitHub. As a prerequisite, Perl6 (e.g., Rakudo) needs to already be installed.
Upvotes: 2
Reputation: 1160
For Perl syntax highlight ext install perl6
Install this extension To Run Perl and Other languages
Upvotes: 0
Reputation: 11168
In short. No, there doesn't seem to be a good plugin for it.
If you use Perl rarely, I would recommend sticking with Visual Studio for Microsoft languages and Padre for Perl.
However, if you use Perl as much or more than Microsoft languages, you might want to check out Emacs, which has support for C#, VB.NET, and Perl. Emacs is designed to be a "one-stop-shop" for all you do all day long, including browsing the web. You can come into work, start using Emacs and never have to leave it until it is time to go home.
disclaimer: The answer above is geared toward the Original Poster. I'm a big fan of vim. Personally, if I were thrust into a situation where I had to work with C# and Perl on the same project, I would get ViEMU for Visual Studio and then use two editors: Visual Studio for C# and vim for Perl.
If this is something you are willing to spend some time on, check out defining your own syntax highlighting for Visual Studio.
Upvotes: 14
Reputation: 340
Komodo Edit is quite nice, and free. code folding and other good stuff.
Upvotes: 6