Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Visual Studio's (or any other text/code editor) caret size?

How can I change Visual Studio's (2010 or 2012) cursor/caret size?

Something like this:

Enter image description here

I'm not looking for the Insert Key!

like image 853
Masoud Darvishian Avatar asked Aug 11 '13 06:08

Masoud Darvishian


People also ask

How do I change the size of my cursor in Visual Studio?

Select Options from the Tools menu and in Environment folder, select Fonts and Colors. In Show settings for, select Text Editor. Change the font, size, display item, foreground and background colors.

What is caret in Visual Studio?

Applies to: Visual Studio for Mac Visual Studio. Multi-caret editing allows you to add n number of insertion points at a single time.

How do you change the thickness of a caret?

Select Desktop then in the right window pane double click on CaretWidth DWORD. 4. Under Base select Decimal then in the value data field type in a number between 1 – 20 for the cursor thickness you want, and click OK.

How do you change the cursor in text editor?

You may have just pressed your INSERT key on your keyboard. This changes Word, etc., from insert mode to overtype mode. Press the INSERT key again and it should toggle back to being a line.


2 Answers

You can change the width of the cursor (caret) although it is a system global setting, not specific to Visual Studio.

Control Panel -> Ease of Access Center -> Make the computer easier to see -> Set thickness of the blinking cursor

(This is in Windows 7 - in other versions of Windows you may have to go hunting given how Microsoft like to change things. Alternatively, edit the registry setting HKEY_CURRENT_USER\Control Panel\Desktop\CaretWidth).

like image 180
Jonathan Potter Avatar answered Nov 16 '22 01:11

Jonathan Potter


The cursor will be bigger as long as it is taller, and it is taller as long as the font size is bigger. So an alternative is to change the font size:

  1. Select Options from the Tools menu and in Environment folder, select Fonts and Colors.
  2. In Show settings for, select Text Editor.
  3. Change the font, size, display item, foreground and background colors.
like image 41
lulyon Avatar answered Nov 16 '22 01:11

lulyon