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. Thanks.
Old Answer (still applies unless you are using Visual Studio Update 1 RTM (2015) or later)
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.
Visual Studio Update 1 RTM now (2015) has Perl support, along with Go, Java, R, Ruby, and Swift.
Komodo Edit is quite nice, and free. code folding and other good stuff.
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.
For Perl syntax highlight ext install perl6
Install this extension To Run Perl and Other languages
A workaround for Visual Studio desktop version is to use C++ syntax highlighting.
Go to Options -> Text Editor -> File Extension
Enter extension "pl" (no dot)
Assign it to "Microsoft Visual C++"
Click "Add"
If necessary, repeat the same steps for "cgi" extension.
Related
I use rake scripts for running builds and would like to be able to get syntax highlighting within visual studio.
Is it possible to get ruby syntax highlighting in Visual Studio 2012?
I've been searching for a while but not come up with a solution yet. I'm only looking for free solutions so Ruby In Steel is out.
Vote here for IronRuby support for visual studio 2012
Unfortunately the IronRuby tools for Visual Studio don't yet support VS2012.
I might be wrong about that though, it seems that the development has been moved to Github.
My preferred external editor is Sublime Text so I've opted use that for Ruby files. You just right click on your rakefile.rb is the VS solution explorer and choose "Open With". In the dialog you can add an editor of your choice and set it to be the default.
There was, at one point in 2008 anyway, a free edition of Ruby in Steel and it seems like the download link on that page does still work. It has a slightly limited feature set compared to pay versions of the software, but does include syntax Highlighting. So have a go and see if that will do what you need for free.
And for the rest of you, Neil specifically asked for VS internal syntax highlighting, not for you to plug your favorite text editor.
I would like to know (as I've failed so far in finding such a feature in the VS's options),
if there is a feature which allow for scope highlighting same as seen in the BlueJ IDE for java,
here is an example:
Note how the code blocks are all highlighted with color,
when learning java using blueJ i found it to be extremely easy on the eye when looking at code,
and everything felt a lot more organized,
moving to C# and working on MS visual studio, its all text with some highlighting, Class names, keywords etc etc,
but in general it still feel like a black text on a white background and lacking that organized feeling i sorely miss from blueJ,
i noticed there is a similar question here referring to eclipse,
Eclipse IDE Scope Highlighting?
just to be on the safe side, ill ask again referring to Visual studio,
is there such a feature in VS? is there an add-on \ plugin for VS which allows it?
Thanks in advance for your answer.
Microsoft provides a free Productivity Power Tools extension for Visual Studio 2013 and 2015. This has a "Structure Visualizer" feature similar to the CodeRush plugin. Both are more subtle than the BlueJ style, but should make scopes a little clearer.
Productivity Power Tools 2013
Productivity Power Tools 2015
Update
Visual Studio 2017 integrated a version of this into the core application for C#, Visual Basic, F#, and XAML (as Structure Guide Lines). However, C++ still requires an extension.
Look at the DevExpress CodeRush plugin, there is a 30-day trial version.
The function it provides is called "Structural highlighting", and I think its even better than what you want (and its customizable).
CodeRush Express
CodeRush Documentation
i'm searching for a way to change the language of the "Spell Checker"-Extension for Visual Studio 2010.
The problem is following:
I'm using the german language version of Visual Studio 2010. If I use the "Spell Checker"-Extension it checks the correctness in german language, while I'm coding in english.
So nearly every single word is underlinded as incorrect.
How can I change the checking language to english or how can I change the libary it used to check language?
Any Ideas?
I found a solution for the problem by myself.
If anybody like to know it:
First download the extension inside the Visual Studio extension-manager.
Second download the source of the extension and open it in Visual Studio (Visual Studio SDK has to be installed to open the project)
Third navigate to Spellchecker/Spelling/SpellingTaggers.cs and add the following line inside the CheckSpellings method of SpellingTaggers class under the textBox initialization:
textBox.Language = XmlLanguage.GetLanguage("en-US");
Next build the dll-Files with Visual Studio
And finally replace the dll-files with those in the directory of the Spell Checker Extension (it can be found under %HOME%\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Roman Golovin, Michael Lehenbauer, Noah Richards\Spell Checker\2.23 or something similar)
That's it!
If you want to use a language different from "en-US", change the Language Code.
There is a fork of spellchecker, that maybe will eventually be integrated into the main branch, that supports spellchecking in multiple languages here:
https://github.com/simonegli8/Spellchecker
Simon Egli
Remark:
Step 5 will not work in all cases. I think dlls are cached or something like this, so it would be better to uninstall spell checker from Visual Studio and reinstall the new compiled version of SpellChecker.vsix (could be found in SpellChecker.Implementation\bin...).
This worked for me.
I got started with F# back in the day (before VS2010 beta); at the time, if I remember correctly, there was not an Express version of F#, but one could use the VS Shell (I think that was the name) and then install F# on top of it.
What's the current state of affairs? I've read out there that there's no 2010 Express version of F#; is there a 2010 Shell that one can download and install F# latest on top of? If not, what's the best way (if any) to code in F# 2010 for free?
I'm aware that asking for free stuff is A LOT to ask for. But this was possible in VS2008 and I'm wondering if it's also possible in VS2010.
Thanks!
PS - I believe (not sure though) that VS2010 beta can be downloaded for free; the problem with that is that when the final release comes out, one will have to pay for a license. For a guy who codes for fun like myself it doesn't make much sense to buy the full version if I can get the very basic features for free...
See
https://stackoverflow.com/questions/734525/getting-started-with-f
Basically right now you can use the free VS2008 integrated shell along with the F# CTP, or use the VS2010RC (which is free as a Beta).
(I don't know if there is a VS2010 shell published yet, and I don't know if the F# CTP works with it; for the moment, your best long-term-free strategy is to use 2008.)
I think you can also use SharpDevelop with F#:
http://www.icsharpcode.net/OpenSource/SD/Features.aspx
If you mean visual F# the best tool is Visual Studio 2010 RC:
Check out these links :
Creating Your First F# Program with Visual Studio
Using Visual F# to Create, Debug, and Deploy an Application
**[Update]**Check out this link too:Features of the Visual Studio 2010 Release of Visual F#
Which IDE if any, are people using to develop Ironruby in?
If you are looking for an integrated Visual Studio editor, with intellisense etc, Microsoft has nothing in plan yet (according to this article with John Lam -> http://www.infoq.com/articles/state-of-ironruby). But there is an integrated editor which works pretty good - SappireSteel - at http://www.sapphiresteel.com/Ruby-In-Steel-For-IronRuby.
If you just want to edit in VS and don't care about intellisense and such, you could try and set up an external tool from within VS and call the ir.exe (http://msdn.microsoft.com/en-us/library/68c8335t%28VS.80%29.aspx)
There are numerous editors with support for ruby highlightning which you can try out as well, but there is no one (I think) with intellisense-like support for the .NET framework. Scite (http://www.scintilla.org/SciTE.html) is pretty popular, Scott Hanselman blogged about Ruby support/highlightning in Notepad2 (http://www.hanselman.com/blog/NewNotepad2WithRubySyntaxHighlighting.aspx). On Codeplex you can find a tool called IronEdit (http://www.codeplex.com/IronEditor) which I've not tried myself yet.
I ran RubyMine (http://www.jetbrains.com/ruby/index.html) for a while, which seems to be a really good Ruby IDE (costs money), but doesn't have any specific support for IronRuby. I hope the JetBrains will release something which plugs into Visual Studio eventually...
Personally I think Sapphire will come up with something really good eventually. I hope this helps.
I use Vim as my IDE with some custom settings that I blogged about some time ago.
Visual Studio?
According to the IronRuby website Visual Studio C# Express can be used (and in turn, any commercial version of Visual Studio 2005+ I'll assume).
From the IronyRuby.net home page:
Today, you must check the source code out of the IronRuby Subversion repository on Rubyforge. You will need a Subversion client: we recommend TortoiseSVN. To build the sources from the command line, you must also have Ruby installed on your computer already: we recommend the Ruby one-click installer. You can also build the sources using Visual Studio; if you don't already own a copy, you can download a free copy of Visual C# Express 2008.
Ruby in Steel from Sapphire Steel is build on the Visual Studio Shell (integrated mode) that will merge with Visual Studio 2008 if you already have it installed or simply be a standalone installation if you don't have Visual Studio already installed.
Also, no use to you, but Microsoft are going to be releasing IronRuby Studio (and IronPython Studio) at some point in the future. I couldn't find much about these on the web though - they were mentioned by a speaker at Teched Europe a few weeks ago.
You might interested in IronEditor. which similar to SciTE. get it at http://www.codeplex.com/IronEditor
Sapphire has a version now specifically targeted at IronRuby. Furthermore, not only is the alpha free now but they claim production will be free as well.
edit:forgot to include linkage
IronRuby integration in VS2010 can be found here: http://ironruby.net/tools/
The IronRuby tools are a good place to start but I think the best IDE for doing Ruby or in more detail Rails is VIM. by using a plugin such as rails.vim you can keep all your shortcuts and scripts across the boundaries such as Windows / Linux or IronRubyOnRails / RubyOnRails ...
JetBrains is offering a great IDE with RubyMine. I can remember that I've read an article about how to configure RubyMine to support IronRuby.
But as already mentioned IronRuby Tools for VS2010 are a good place to start.
The current version(s) of IronRuby now contain Ruby Tools for Visual Studio, which install along with IR itself. This is true for versions 1.1 and later.