dotnet/roslyn

Escaping out of a cref tag is very difficult

Open

#10.015 geöffnet am 23. März 2016

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (4.257 Forks)batch import
Area-IDEBughelp wanted

Repository-Metriken

Stars
 (20.414 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

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