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.

0.6.5 does not honor tab size settings

See original GitHub issue

editorconfig-vscode version: 0.6.5

Expected behavior

Tab size settings applied to editor in workspace

Actual behavior

Invalid tab size in editor

Steps to reproduce the behavior

root = true

[*]
indent_style = space
indent_size = 4

[*.{c,cpp,h,hpp,proto}]
indent_style = tab
indent_size = 2

indent_style is tab but I still see indent_size = 4 in editor:

zrzut ekranu z 2017-04-10 09-30-12

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:25 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
ianlinicommented, Apr 11, 2017

Hi, @jedmao. In my case, there is no any output (no EditorConfig option in the output window). I think the extension fails to start. I also found that there are some error messages at the developer tools:

[Extension Host] Activating extension `EditorConfig.EditorConfig` failed: Cannot find module './InsertFinalNewline'.
[Extension Host] Activating extension `EditorConfig.EditorConfig` failed:  Cannot find module './InsertFinalNewline'
[Extension Host] Here is the error stack:  Error: Cannot find module './InsertFinalNewline'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Function.J.i._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:4:374825)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/bist/.vscode/extensions/EditorConfig.editorconfig-0.7.0/out/src/transformations/index.js:2:28)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Function.J.i._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:4:374825)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/bist/.vscode/extensions/EditorConfig.editorconfig-0.7.0/out/src/DocumentWatcher.js:14:27)
    at Module._compile (module.js:556:32)
Activating extension `EditorConfig.EditorConfig` failed: Cannot find module './InsertFinalNewline'.
2reactions
jednanocommented, Apr 11, 2017

@ianlini thank you! I know exactly what’s going on now. I must have done a rename on that particular file at some point and because I already had insertFinalNewline.js in my compiled out/ folder, every time I ran the TypeScript compiler w/ the tsc command it just overwrote it w/o changing it to InsertFinalNewline.js. Notice the capital “I” at the beginning! I’m going to publish a patch right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How I can increase tab width in notepad++ (v6.5)?
1, from the main menu "Settings"->"Preferences..." on the very far right near the bottom of the "Preferences" dialog you'll see "Tab size:" and...
Read more >
Current news - RKWard - KDE
RKWard 0.6.5 - Much improved preview functionality, and more ... Fixed: Disabling a element in plugins would not make the sub-elements non- ...
Read more >
z/OS Connect (OpenAPI 2) change history - IBM
PH37316 - The onError=FAIL parameter is not honored when the z/OS Connect configuration files contain errors. August 2021. V3.0.48 (APAR PH38810). Server code ......
Read more >
SEEO Changelog - EEHarbor
MSM- does not honor channel defaults across sites. Tab ... Maximum length check to the title and description fields in the SEEO tab...
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
Bug:2 - "How do I attach an ebuild. ... Bug:234 - "app-misc/gentoo doesn't honor make.conf CFLAGS" status:RESOLVED resolution:FIXED severity:minor ...
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