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.

No settings working

See original GitHub issue

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.
  • I tried npm install editorconfig -g and ran editorconfig [file-in-question] and the configuration was what I expected. If not, please file on the editorconfig-core-js issue tracker.

Issue

Visual Studio Code editorconfig-vscode
Version 1.11.2 0.9.3

Root .editorconfig File

[*]
indent_style = space
indent_sized = 2
end_of_line = 'lf'

Are there any other relevant .editorconfig files in your project? No

Visual Studio Code Setting Default User Workspace
editor.insertSpaces true ____ ____
editor.tabSize 4 _ _
editor.trimAutoWhitespace true ____ ____
files.autoSave "off" "___" "___"
files.insertFinalNewline false _____ _____
files.trimTrailingWhitespace false _____ _____

File opened

./test.js

Expected behavior

indent_style = space
indent_sized = 2
end_of_line = 'lf'

Actual behavior

indent_style = space
indent_sized = 4
end_of_line = 'CRLF'

Additional comments or steps to reproduce

Disabled all extensions. I must be missing something. Anything else I can try?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
jednanocommented, Apr 30, 2017

The EOL setting is applied in file save, not file open, as it would mark the file as dirty. Is it still CRLF after a file save?

2reactions
jednanocommented, Apr 29, 2017

I also noticed you have indent_sized instead of indent_size. Please copy the following configuration:

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf

Also, please output the result of npm install editorconfig -g && editorconfig ./test.js.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10: The Settings App Does Not Open or Flashes and ...
This article resolves a problem when the settings app does not open or flashes open and closes straight away in the Windows 10...
Read more >
Settings App Not Working in Windows? Here Are the Fixes
Settings App Not Working in Windows? Here Are the Fixes · Re-enable Settings App in Registry Editor · Update Windows (or Roll Back...
Read more >
What to Do When Windows 10 Settings Are Not Working
Before you do anything else, restart your computer. · Try different ways to open Settings. · To scan for missing or corrupted system...
Read more >
Settings Not Working in Windows 10/11: How to Fix? - Techbout
Settings Not Opening in Windows 10/11 · 1. Shut Down & Restart computer · 2. Run SFC Scan · 3. Reinstall Settings App...
Read more >
What to Do When Windows 10/11 Settings App Is Not Opening?
Windows 10 Settings Not Opening FAQ · Go to Start > Settings. · Enter settings to the Windows 10's search box to open...
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