marcelwgn / IndentRainbow

Visual Studio extension for colorization of indent levels
https://marketplace.visualstudio.com/items?itemName=chingucoding.IndentRainbow
MIT License
33 stars 8 forks source link

It would be awesome to read the tab size from .editorconfig or from the editor control directly. #43

Open mrudat opened 6 months ago

mrudat commented 6 months ago

I boldly assume that there isn't some handy API call that allows you to ask Visual Studio what the tab settings are.

marcelwgn commented 6 months ago

There seems to be an API for this. However I am not sure if handle all of the following cases:

  1. Settings for specific documents in Visual Studio
  2. .editorconfig for that type of file
  3. ... (maybe some other obscure way one could interfere here)

If you like, feel free to give it a shot, otherwise I hope I can get to that at some point

Edit: And of course, thank you for the feature request!