-
Notifications
You must be signed in to change notification settings - Fork 117
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
.editorconfig is picking up incorrect indentation #145
Comments
@bmacnaughton are you actually opening the I've recreated your project structure on Windows 10 and I'm seeing the following:
|
v0.9.3: Fix workspace issue on Linux #145
@bmacnaughton thanks so much for the details! I think I found and fixed the issue, but please let me know if it's still a problem in v0.9.3. |
Well, I haven't in quite a while; it's been opened by vscode saving the state. But I have opened multiple |
What about now? Version 0.9.3? |
Just tried it. It seems to work now - thank you! I hadn't realized how much
I depended on this until it was gone.
…On Tue, Apr 11, 2017 at 10:05 PM, Jed Mao ***@***.***> wrote:
What about now? Version 0.9.3?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#145 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD-nu2984tP1zv5VZv-sIjxJpECerUvkks5rvFu3gaJpZM4M6sY7>
.
|
Please fill-in this template.
code --disable-extensions
and the issue did NOT present itself.If I disable extensions then .editorconfig won't be active and it should use default tab settings.
Delete the following condition if it doesn't apply to your case:
If the extension is not picking up the expected configuration for a file:
npm install editorconfig -g
and raneditorconfig [file-in-question]
and the configuration was what I expected. If not, please file on theeditorconfig-core-js
issue tracker.Output was:
Issue
1.11.1
0.9.2
Root
.editorconfig
FileAre there any other relevant
.editorconfig
files in your project? Noeditor.insertSpaces
true
____
____
editor.tabSize
4
_
_
editor.trimAutoWhitespace
true
____
____
files.autoSave
"off"
"___"
"___"
files.insertFinalNewline
false
_____
_____
files.trimTrailingWhitespace
false
true
_____
editor.detectIndentation
true
false
_____
File opened
./src/components/lmd-app.vue
Expected behavior
indent_size = 2
Actual behavior
indent_size = 4
Editor config is clearly loading - it's in the Output window.
Here's the log from it:
It just added these lines
Then these
I don't know that it matters but I run two different instantiations of vscode both with the same directory root.
The text was updated successfully, but these errors were encountered: