-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
Please fill-in this template.
- I have a question that is specific to this extension; thus, inappropriate for the main EditorConfig issue tracker.
- I tried running
code --disable-extensions
and the issue did NOT present itself.
Issue
Visual Studio Code | editorconfig-vscode | |
---|---|---|
Version | 1.61.2 |
0.16.4 |
Root .editorconfig
File
root = true
[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.js]
indent_style = space
indent_size = 4
Are there any other relevant .editorconfig
files in your project? No
Visual Studio Code Setting | Default | User | Workspace |
---|---|---|---|
editor.insertSpaces |
true |
____ |
____ |
editor.tabSize |
4 |
2 |
_ |
editor.trimAutoWhitespace |
true |
____ |
____ |
files.autoSave |
"off" |
"___" |
"___" |
files.insertFinalNewline |
false |
_____ |
_____ |
files.trimTrailingWhitespace |
false |
_____ |
_____ |
File opened
./foo.js
Expected behavior
indent_size = 4
Actual behavior
indent_size = 2
Additional comments or steps to reproduce
I think the extension doesn't get activated after connecting to a remote host. I have to trigger the extension to recognize my rules once I open my .editorconfig file.
- Have a remote server that can accept SSH connections
- Create a project folder that contains .editorconfig
- Have a JS file ready
- Follow the instructions in https://code.visualstudio.com/docs/remote/ssh#_installation to install the Remote Development extension set.
- Open an SSH connection with a remote server inside the VSCode via the RD extension
- Open the JS file and expect it to have 2 spaces for indentation
- Open the .editorconfig file and observe the visual changes on the JS file.
- The
spaces
indicator in the status bar shows 4 instead of 2 after opening the .editorconfig
terrehbyte, BrettMayson, jezstephens, jacksontong and yCodeTech
Metadata
Metadata
Assignees
Labels
No labels