Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get vertical highlighting in VSC

In Visual Studio Code, I'm trying to get the whole column highlighted where my cursor is. The same way a line is highlighted, I'd like to get the column highlighted as well.

It exists in Atom, as shown below, as an independant package. enter image description here

I didn't find the same setting or package to do it in VSC. Anyone knows how to achieve that?

like image 716
Pierre Le Bot Avatar asked May 14 '19 13:05

Pierre Le Bot


2 Answers

I don't think it is possible to get the exact same effect as with Atom, where you highlight a column, but for the same functionality (vertical line where your cursor is), you can install the extension cursoruler.

like image 148
Corné Avatar answered Nov 10 '22 19:11

Corné


I can suggest you the following extension: Editor Crosshair https://marketplace.visualstudio.com/items?itemName=bitlang.vscode-crosshair

It adds horizontal and vertical rulers around the cursor (screenshot below)

enter image description here

like image 1
Hichem BOUSSETTA Avatar answered Nov 10 '22 19:11

Hichem BOUSSETTA