Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indent_style should convert spaces to tab #25

Open
rhessinger opened this issue Aug 21, 2015 · 3 comments
Open

indent_style should convert spaces to tab #25

rhessinger opened this issue Aug 21, 2015 · 3 comments

Comments

@rhessinger
Copy link

indent_style only flips the value in visual studio settings. I feel like it should automatically change the file from spaces to tabs upon save.

@xuhdev
Copy link
Member

xuhdev commented Aug 21, 2015

See here

@rhessinger
Copy link
Author

I know there are tools out there, i just feel like this should be built into the extension.

@jednano
Copy link
Member

jednano commented Aug 21, 2015

@rhessinger it's been discussed and the main concern is that sometimes we are forced to work in unfortunate environments where the team doesn't want you to "fix" the indentation on source files, because it would mark all the lines red and create unnecessary merge conflicts for team members working on the same file.

The project goals of EditorConfig are not to "do" much anything in your editor, but rather to "configure" your editor properly for edits going forward. It's a configuration tool, not a linter and not a cleaner of sorts. There's a huge difference there.

The other tools to which @xuhdev pointed you take it a step further and do actual cleaning and such. You might also look at CodeMaid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants