SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Christoph Wille

Import and Export of Highlighting Settings

Yesterday, Siegfried put finishing touches on the import/export of color schemes in SharpDevelop. To give you an idea, let's take a look at the following screenshot:

This is an imported color scheme from StudioStyl.es, more specifically http://studiostyl.es/schemes/son-of-obsidian-with-resharper.

Now, how do you get one of those color schemes installed in SharpDevelop? You have to go to the Tools / Options dialog, Text Editor / Highlighting section:

There you will find the "Import highlighting colors" button, that allows you to pick a highlighting definition - either one that was exported from SharpDevelop, or one that came from Visual Studio (as is the case with StudioStyl.es):

Please do note that if you have existing customizations, the import will warn you that those will be reset (otherwise you might end up with very interesting intersections of color schemes).

Speaking of interesting effects: if you compare the first screenshot with the first listing on the StudioStyl.es page, you will notice differences such as the type coloring or the constructor (eg line 15). The reason for this is that sometimes VS supports more options, other times it is SharpDevelop - thus there can't be a perfect mapping when you import from a VS settings file. You might need to make slight adjustments in SharpDevelop after the import to get a perfect look.

Comments

 

FSchneidereit said:

Very nice, I waited a long time for this feature. The same for the reintroduced column ruler. Keep up the great work.

It doesn't work for C# and Visual Basic on SharpDevelop 5 (Build 886/Windows 7/.NET 4.5 RTM), custom settings are always lost. Does it have to do with the new NRefactory?

August 18, 2012 2:19 PM
 

siegi44 said:

Yes, we are aware that it does not work in SD 5. It is currently in a very early stage of development and most of the parts of SD have to be rewritten. The highlighting engine is being rewritten and extended as well. In the meantime please stick with SD 4.

August 19, 2012 10:41 PM
 

Chandu said:

Hi,

I installed the latest version of SD from www.icsharpcode.net/.../download, but I don't see the option, Is this not in RC ?

October 31, 2012 6:00 AM
 

Chandu said:

I guess its a part of 4.3.x version. Git it from latest nightly builds

build.sharpdevelop.net/BuildArtefacts

October 31, 2012 6:09 AM
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.