0

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

1
  • How can it be perfectly indented with an 8-space tab??!1!? Perfect implies two spaces! Joking aside: something is very off with either your font, your character spacings, or something. Commented Aug 18, 2019 at 14:16

1 Answer 1

4

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"
Sign up to request clarification or add additional context in comments.

1 Comment

Definitely something up with the font: the # is also messed up.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.