Lethe
Lethe

Reputation: 713

How to set vscode to display the number of selected lines?

Who knows how to set vscode to display the number of selected lines? Just like NotePad++, when we select many lines, we can see how many lines selected in the lower right corner, thanks!

Upvotes: 61

Views: 25433

Answers (3)

KevinBui
KevinBui

Reputation: 1099

without extension, use middle button on the mouse to select lines, then number of selected lines is shown in status bar.

enter image description here

Upvotes: 5

MarredCheese
MarredCheese

Reputation: 20791

Try this extension: Selected Lines Count

demo

Without an extension, you have to resort to a workaround: use the command Add Cursors to Line Ends and observe the selection count. The default shortcut is Shift+Alt+I (i, not L).

enter image description here

Upvotes: 101

georgekrax
georgekrax

Reputation: 1179

Surely, you can find an extension. Till now, you can see in the Status Bar, how many characters you have selected. Take a look, at some extensions here.

Upvotes: -13

Related Questions