4

When programming in Visual Studio, the caret (i.e. the vertical line that shows where text will be inserted) is either a vertical line (when in insert mode) or a block (when in overwrite mode).

Is there anyway to make it the other way around?

I just like the block caret...reminds me of the 380Z that I first started programming on...

2
  • 2
    Back in the day of the 380Z the item marking the place where text was to be inserted was probably often called a caret, but today the item marking the place where text is to be inserted is more correctly called the cursor. Today a caret is this character ^. Commented Apr 14, 2011 at 20:57
  • 1
    You understand that, in agreement with the comment by typoking, most people will assume that you are looking for caron (upside down ^), not reversing your cursor behavior.
    – Kirk
    Commented Jun 8, 2011 at 2:06

2 Answers 2

0

$Host.UI.RawUI.CursorSize = 100

The value is a percentage size. Default value is 25.

4
  • Obviously, add this to your $profile if you want it to be the default.
    – Bacon Bits
    Commented Apr 14, 2011 at 21:06
  • $Host what now? Where would you execute this? Or, are you talking Unix? Commented Apr 17, 2011 at 18:50
  • I would pay money that this was a PowerShell question. Please ignore if it isn't.
    – Bacon Bits
    Commented Apr 18, 2011 at 11:50
  • Sorry, no it wasn't a powershell question. I've never used powershell - but if I can use that to change the standard caret - then that would be great! Commented Apr 18, 2011 at 14:47
0

To my knowledge, this is not possible. The vertical line in the VS editor sits between two characters, showing where the new character will be inserted. In insert mode, the block shows which character will be replaced. Nearly every development text editor I've used (many versions of Visual Studio, Delphi, VBA editor in Excel, etc) uses this convention. Swapping the modes just wouldn't make much sense.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .