tell me the difference between sublime text3 and vs code?

It looks as though you’re not using the same font in both cases, and in fact the font in Sublime is Fixed Width while the font in VSC is Proportional.

This is visible not only in the rulers, but in the code itself. For example, presuming it’s the same file in both screen shots, the indent looks to be 4 characters in Sublime and 3 in VSC.

Both things are a symptom of a Proportional font; a font in which the width of each character is potentially distinct, unlike a Fixed Width font in which every character is the same width.

In a Fixed Width font, an X and a dash are the same width (for example), but in a Proportional font a dash is usually narrower (and a space much more so). As a result the ruler being at character position 80 doesn’t line up with the actual character at position 80 because the text isn’t long enough.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top