j-zeppenfeld / tab-indent-space-align

A Visual Studio Code extension for those who know the difference between indentation and alignment.
MIT License
17 stars 1 forks source link

It desrespects editorconfig #1

Closed robsonsobral closed 5 years ago

robsonsobral commented 5 years ago

Hi! Thank you for the extension. it looks like, finally I gonna use smart tabs.

I'm sorry for reporting the first bug.

While using this extension, the .editorconfig file is disrespected.

j-zeppenfeld commented 5 years ago

Could you tell me which EditorConfig setting(s) in particular is not being respected?

Of the 6 properties supported by the "EditorConfig for VS Code" extension, only "indent_style" should be affected by this plugin. This extension always uses tabs for indentation, since that's really the whole purpose of it - tabs indent, spaces align.

Or is it that you would like this extension to disable itself for certain file types?

robsonsobral commented 5 years ago

Thank you, @j-zeppenfeld .

It's the indent_style, yes.

I don't work only on my code. I collaborate with different teams and on open-source projects. I've some legacy code to work with, too. I use the editor config to respect the intentions of the project leader or the team.

Thank you.

j-zeppenfeld commented 5 years ago

Added in v0.0.2.