Rafay Hassan
Rafay Hassan

Reputation: 770

Weird spacing in vs code

Please have a look at the image given below and guide me how to fix it. This is making difficult it to read the comments and it is annoying because I like to have my code perfectly indented. Please help me out.

In the image tabsize is 8 (I set it for demonstration purpose)

ir

Upvotes: 0

Views: 2018

Answers (1)

Brian Malehorn
Brian Malehorn

Reputation: 2685

This is probably caused by using a non-monospace font. To fix, try to reset your font the default settings:

  1. Type Ctrl+Shift+P to open the command menu
  2. Type Preferences: Open Settings (JSON)
  3. Remove the line starting with "editor.fontFamily"

Upvotes: 4

Related Questions