question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

editorconfig plugin breaks default functionality of vscode

See original GitHub issue

editorconfig-vscode version: 0.6.0

Expected behavior

If I edit the vscode workpsace settings related to editor configuration and have no editorconfig file in the root of the project, then vscode should use the workspace settings

Actual behavior

When no editorconfig file is present and I have my workspace settings for editor set then editorconfig plugin uses the global settings

Steps to reproduce the behavior

Set .vscode/settings.json to:

{
  "editor.detectIndentation": false,
  "editor.tabSize": 2,
  "editor.insertSpaces": false
}

Note that default global settings for these values are:

{
  "editor.detectIndentation": true,
  "editor.tabSize": 4,
  "editor.insertSpaces": true
}

Do not create an editorconfig file.

Result should be that all use of tab should not be replaced and should have the size of two spaces.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jednanocommented, Apr 10, 2017

We can always reopen when you revisit it and can repro.

0reactions
kevinpenocommented, Apr 10, 2017

I’m sorry I haven’t had much time on hand lately. Since you can’t repro, feel free to close I guess. I’ll just have to make sure I sit down and test it out and report back when I get some time. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

EditorConfig for VS Code not working - Stack Overflow
I have installed the extension EditorConfig for VS Code from here: https://github.com/editorconfig/editorconfig-vscode.
Read more >
ESLint and EditorConfig in VSCode - grant norwood
This post should help you and your team write consistently beautiful code, and auto-fix many eslint problems when files are saved!
Read more >
EditorConfig
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
Read more >
EditorConfig settings - Visual Studio (Windows) - Microsoft Learn
Learn how to add an EditorConfig file to your project or codebase to enforce consistent coding styles for everyone that works in the ......
Read more >
EditorConfig for VS Code - Visual Studio Marketplace
This plugin attempts to override user/workspace settings with settings found in .editorconfig files. No additional or vscode-specific files ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found