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

Make editorconfig care about current consistent styling #32

Open
dzhlobo opened this issue Jan 18, 2021 · 2 comments
Open

Make editorconfig care about current consistent styling #32

dzhlobo opened this issue Jan 18, 2021 · 2 comments
Assignees

Comments

@dzhlobo
Copy link
Member

dzhlobo commented Jan 18, 2021

I'd like to continue using existing codestyle if it's consistent in the file. E.g. when I occasionally edit a .cpp file and tabs are used in that file I's like to continue using tabs for identation. Right now when I manually select tabs in vscode editorconfig continuosly switches back to spaces. I'm wondering if it's possible to fix.

Let's check if it's possible to do via editorconfig.

@paydaylight
Copy link
Contributor

paydaylight commented Jan 19, 2021

@dzhlobo Seems that is impossible to do in editorconfig. What I propose is to add more rules by file extension.

@paydaylight
Copy link
Contributor

@dzhlobo what do you think? Having thought about it, I think we need to remove forced 2 space indentation for every file and maybe add explicit rules for common datarockets projects languages like ruby and js/ts.

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

No branches or pull requests

2 participants