dotnet/roslyn

Escaping out of a cref tag is very difficult

Open

#10,015 opened on Mar 23, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (20,414 stars) (4,257 forks)batch import
Area-IDEBughelp wanted

Description

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.

Contributor guide