Possible to add Ruby syntax highlighting to Visual Studio 2008? - ruby

When I open a Ruby file (*.rb) inside Visual Studio, it reads like a regular text file - with no syntax highlighting on language keywords.
Is there any way to set this up in Visual Studio?
Update: No, I don't use Visual Studio for Ruby development - I use Netbeans. But I would like to open a Ruby file in Visual Studio and see the proper highlighting.

There is a Ruby plugin for Visual Studio by Sapphire Steel Software, called Ruby in Steel.

There might be a plugin in Visual Studio, that may do that.
Use Netbeans, Textmate, jEdit, Eclipse for Ruby development, they are great IDEs.
( I am wondering why are you doing ruby development in Visual Studio, well you may have your reasons :) )

I'm not entirely sure you can do it for free without the Ruby in Steel add-in.
If you're not completely happy with Visual Studio, perhaps you can use a text editor with syntax highlighting plugins freely available. I know Notepad++ has this feature.

Related

Is there a syntax them for Visual Studio 2019 that's similar to VSCode dark+ theme?

I'm very used to using Visual Studio Code, and admire the dark+ theme that comes with it standard. I want to use the Visual Studio IDE for projects, and would like to use the exact same or similar theme within the IDE. However, I can't find the syntax them for VS IDE 2019, and only find images of the application with the syntax theme inside. Could someone please show me where I can find or download the syntax theme?

Visual Studio: Custom Syntax Coloring

Most programming language options in Visual Studio have built-in syntax coloring. However, I am required to use Assembly Language for my purpose. I have tried various Assembly Language syntax highlighting extensions, but some data types wouldn't be colored properly. How can I implement my own syntax highlighter/colorer? Would it require the development of a Visual Studio Extensions project?
How can I implement my own syntax highlighter/colorer? Would it require the development of a Visual Studio Extensions project?
you can use related visual studio extension from visual studio marketplace. like below:
https://marketplace.visualstudio.com/items?itemName=13xforever.language-x86-64-assembly
https://marketplace.visualstudio.com/items?itemName=Trass3r.AsmHighlighter
You could also create your Syntax Coloring in Custom Editors, For more information, please refer to:
https://msdn.microsoft.com/en-us/library/bb165803.aspx

Use Visual Studio for custom script language

We are using a commercial software that has its own scripting language with which you can customize the product. It is very tedious to write code in it without any help from an IDE and it has its own compiler.
Is it possible to use Visual Studio and create an environment for me to write scripts in this language and get the help of intellisense and syntax highlightning and other good things you find in an IDE? Ideally I would like to bind a button in VS to launch the external compiler and compile the code so I don't have to switch windows all the time as well.
If this is possible is it a very hard thing to accomplish?
Yes, this is certainly possible. You need to create a Visual Studio Shell add-in with custom language services and text editors. You need to install the appropriate Visual Studio SDK and then you'd continue to:
Create a custom Editor and/or designer
Add a language service
Add Project and Item templates
You're allowed to ship Visual Studio Isolated Shell with your application (license required and there are some limitations) so that your users don't need to have Visual Studio Professional installed.
There are a number of open-source projects that provide a custom editor, language services etc in Visual Studio, these could provide a nice place to research how things are done, next to teh Visual Studio SDK documentation:
PyTools, which is a Visual Studio editor for IronPython
Phalanger, which contains a Visual Studio editor for PHP
PoShTools, a Visual Studio service for PowerShell editing right inside Visual Studio
You'll probably want to dig into MsBuild as well, since Visual Studio will expect you to create a project file if you want to edit a collection of files and compile them. MsBuild could in turn call your own compiler, like it calls csc to compile C# code for example.
Creating Project Types

Syntax Highlighter for Visual Studio Express?

I'm looking for a syntax highlighter for Visual Studio Express. I love Visual Assist, however it only works with Visual Studio Professional Edition, not Express.
Visual Studio 2010 actually has fairly decent syntax highlighting but there are some things I really miss from Visual Assist that I'm hoping I can find for VS Express, specifically:
Highlighting local variables in bold, and italicizing stable variables and methods.
Highlighting variables/methods/objects throughout a file just by clicking on it, and highlighting reads in a different color than writes (VS colors reads/writes the same color).
Syntax highlighting within Intellisense and auto-complete option dialogs.
In addition to just syntax highlighting it would also be great to have the some of the shortcuts like Visual Assist offers, like easily finding files in your solution/project, or switching between .h/.cpp files in C++. I also really like how IntelliJ IDEA's IDE takes you to a definition if you hold CTRL and click on a symbol.
I'd prefer something free or cheap, but I'm willing to pay for something if it's worth it.
And just to provide some background, I must use VS2010 because I'm developing a game engine in XNA 4.0, and it only works with Visual Studio. Otherwise I would definitely be open to suggestions of just using an IDE with more options, like IntelliJ IDEA or Eclipse.
The answer to this is in the comment by Cody Gray:
The Express version doesn't support extensions

How do I create a free C# development environment

For personal projects I cannot use my work-licence of Visual Studio Professional at home.
Visual Studio Express just seem less appealing than the professional edition, what are my alternatives except notepad?
MonoDevelop and SharpDevelop are only two options, though even the Express edition of Visual Studio seems to have more features (and is more familiar to those using the Pro/Ultimate editions).
A number of programming text editors have C# syntax highlighting and you can invoke the compiler with key bindings (that you will need to configure yourself), though a dedicated IDE would make a better experience. Notepad++ is one such editor.
Notepad++? :)
More seriously though, there are free C# IDE's out there, such as SharpDevelop however I have always preferred Visual Studio myself.
One open source alternative is SharpDevelop.
Edit: And as Kyle pointed out, I too prefer Visual Studio above anything else.

Resources