Commas, angle brackets dismiss signature help in strings
#29.669 aperta il 4 set 2018
Metriche repository
- Star
- (20.414 stelle)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione

TL;DR
We believe that all of C#'s trigger characters should probably be considered retrigger characters.
Context
We (@jessetrinity, @sana-ajani, @amcasey and I on the TypeScript team) are trying to tackle the Visual Studio side of https://github.com/Microsoft/TypeScript/issues/1150. We noticed that the most "intuitive" implementation actually results in the undesirable behavior highlighted above. When checking to see what C# does, we saw the same behavior. Rather than diverging, we wanted to consult with Roslyn first to verify whether this is a bug.
Details
Version Used: Latest
Steps to Reproduce:
- Write a method
Fooaccepting a string - Trigger signature help session within a string literal being passed to
Foo - Enter a comma character within the string (
,)
Expected Behavior:
Signature help remains
Actual Behavior:
Signature help is dismissed