roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Escaping out of a cref tag is very difficult

Open jasonmalinowski opened this issue 9 years ago • 2 comments

Consider I'm typing in the following context:

typing

There is no good way to escape out of this tag without hitting the right arrow key a few times. Possible fixes include:

  1. We set up the brace matching context for the " and /> somehow so you can overtype them
  2. There's some commit gesture when committing an element that jumps the caret out past the end of the element. @DustinCampbell observed that there are some cases where you want space to be committable (notably generics and method signatures), so that "obvious" solution doesn't work.

jasonmalinowski avatar Mar 23 '16 18:03 jasonmalinowski

Similar to VB completion of generics, we could do different things based on the commit character and the selected item to keep space inside the cref when that's desired, but otherwise move out of it.

Pilchie avatar Apr 01 '16 16:04 Pilchie

Would take a small community fix here.

CyrusNajmabadi avatar Oct 18 '24 20:10 CyrusNajmabadi