DEV Community

Discussion on: 4 Spaces or 2?

Collapse
 
avalander profile image
Avalander

If the line starts with the tab character, I can configure VS Code to show it as either two or four (or any other number) spaces, so the same code can have different indentation space in your machine than in mine.

If I configure VS Code to set two spaces every time I press tab, it is unfortunately not possible for somebody who prefers four spaces indentation to visualise the code that way.

Thread Thread
 
wolfhoundjesse profile image
Jesse M. Holmes

This is the first time any part of this discussion has made sense to me. 🤩