SharpDevelop Community

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

Indentation: convert tabs to spaces

Last post 07-03-2014 11:01 AM by MHO. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-03-2014 11:01 AM

    • MHO
    • Not Ranked
    • Joined on 01-24-2014
    • Posts 7

    Indentation: convert tabs to spaces

    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.

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this ( email address.