28

I just installed SP1 and now I don't see the text editor line and column number at the bottom of each source file in Visual Studio. Does anyone know how to turn this back on?

3 Answers 3

55

If there's anyone with version 16.4.x or later wondering where it went, it got moved from the Status Bar to the bottom right of the editor window.

enter image description here

Please note that Col (column) is omitted from the status bar when it has the same value as Ch (character), as is the case when using spaces for indentation. Spaces will always increment Col and Ch together, whereas tabs will increment the Ch value by one while incrementing the Col value by whatever the tab width is set to be (e.g. 4).

Examples:

Tabs

--->--->Hello, World!
                     ^

Ch: 16    Col: 22

Spaces

········Hello, World!
                     ^

Ch: 22    Col: 22

If your cursor is at the tail end of the line, the Ch and Col values reflect the 1-indexed position denoted by the caret. Col would be omitted from the status bar in the second example.

8
  • 8
    Don't. I had to search online to find it, too; hence why I added this answer. Figured I'd shorten the search for someone. :) Apr 16, 2020 at 0:06
  • 5
    I'm a moron. >_>
    – Warty
    Apr 17, 2020 at 7:41
  • 3
    (For context, someone above me originally commented "boy do I feel dumb now," but later deleted it.) Jun 19, 2020 at 5:18
  • 3
    well this was 1min of googling well spent. Now to see if selection length could be show, ah, of course MadsK marketplace.visualstudio.com/… Nov 12, 2020 at 17:14
  • 1
    They seem to have removed "Col" from the status bar for some reason in one of the last minor versions, which is far more useful to me than "Ch". Trying to figure out how to restore that. Nov 12, 2020 at 20:35
13

Have you tried this?

Tools->Options->Environment->General->Show status bar

3
  • Thanks. that did it. I don't know why or how that got turned off. The upgrade to SP 1 did a job on my settings. Apr 18, 2011 at 12:24
  • 3
    Weird, this is gone for me now even with that checked. Feb 22, 2018 at 16:17
  • 2
    I do not find the Options in the Visual Studio for Mac(Enterprise). Any clue? Oct 21, 2021 at 17:41
11

In case anyone else has the same problem as me, I found that the line number and column didn't show up in the status bar until I hid some of the other information that was there - my extensions added a lot of items.

Right-clicking on the status bar gives a list of what's being shown there (excluding default stuff like columns, confusingly), and you can untick things to hide them. Untick enough, and line and column numbers should come back!

Related discussion in GitHub issue: https://github.com/microsoft/vscode/issues/60537#issuecomment-974647350

1
  • It is the long progress message in my case.
    – Hem
    Mar 8, 2022 at 22:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.