Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display the current line and column numbers in Visual Studio 2010

Tags:

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?

like image 583
Paul Speranza Avatar asked Apr 18 '11 00:04

Paul Speranza


People also ask

How do you show column numbers in VS code?

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! It is the long progress message in my case.

What is Zen mode in VSCode?

Zen mode is a feature in a VS Code that hides all UI (Status Bar, Activity Bar, Panel, and Sidebar) and displays only the editor on a full screen. Zen Mode.


1 Answers

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.

like image 97
J.D. Mallen Avatar answered Sep 22 '22 16:09

J.D. Mallen