dotnet/roslyn

Escaping out of a cref tag is very difficult

Open

#10.015 aperta il 23 mar 2016

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEBughelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

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.

Guida contributor