dotnet/roslyn

Escaping out of a cref tag is very difficult

Ouverte

#10 015 ouverte le 23 mars 2016

 (2 commentaires) (0 réaction) (0 personne assignée)C# (4 257 forks)batch import
Area-IDEBughelp wanted

Métriques du dépôt

Stars
 (20 414 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur