Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Indentation: convert tabs to spaces

$
0
0

I have an addin with language binding for *.data-files defined. (I have derived classes from DefaultLanguageBinding, DefaultFormattingStrategy and LineIndenter)

I would like that all indentations would be done in spaces instead of tabs when editing *.data -files.

Can I somehow define TextEditorOptions that I want to use with those files? (for example in the .addin-file)

Or should I do it in the class derived from LineIndenter? I tried overriding LineIndenter.GetNewLineIndentation method but it seems that it's not possible.


Viewing all articles
Browse latest Browse all 1764

Trending Articles