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.

Will spaces automatically converted?

See original GitHub issue

Please fill-in this template.

Visual Studio Code editorconfig-vscode
Version 1.31.1 0.13.0

Root .editorconfig File

root = true

[*]
indent_style = tab
indent_size = 4

I don’t know if i understand the extension the right way. Imagine i have an old file with spaces and load it into VS Code. Does it automatically convert the spaces to tabs by placing the .editorconfig in root folder?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jednanocommented, Apr 28, 2022

@jedmao how about a new property called convert_to_indent_style that would convert the indentation style to the desired indent style on save. If you made this property default to false, it ought to be a safe thing to add.

i still havent found an easy way to convert spaces into tabs on save, i hate that the whole world seems to think spaces are better 😢

I share your sentiment, but this isn’t the place for general EditorConfig feature requests.

1reaction
skelacommented, Apr 27, 2022

@jedmao how about a new property called convert_to_indent_style that would convert the indentation style to the desired indent style on save. If you made this property default to false, it ought to be a safe thing to add.

i still havent found an easy way to convert spaces into tabs on save, i hate that the whole world seems to think spaces are better 😢

Read more comments on GitHub >

github_iconTop Results From Across the Web

Avoid spaces getting converted to tabs automatically during shift
So to avoid this, I set tabstop to a high value say 60 using :set ts=60 and the shift operator works (does NOT...
Read more >
Can git automatically switch between spaces and tabs?
I use TextMate, and I can convert between spaces to tabs. The thing is, when I hit tab, I like my editor to...
Read more >
Can Kate automatically convert spaces/tabs? - Super User
I got some files have mixed indentation, is there any way I can automatically convert the indentation in Kate?
Read more >
About spaces and group conversations - Google Chat Help
You can use spaces or group conversations in Google Chat to communicate with ... Spaces grouped by topic: History is on by default...
Read more >
Converting table spaces to use automatic storage - IBM
You can convert some or all of your database-managed space (DMS) table spaces in a database to use automatic storage. Using automatic storage...
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