Aspnetcore: Typing equals doesn't automatically add "|" for component attributes

Created on 15 May 2020  路  2Comments  路  Source: dotnet/aspnetcore

E.g,
<Counter IncrementBy=|

This looks to be an issue with ProjectionProvider returning null here.

Done area-razor.tooling bug feature-razor.languageserver feature-razor.vs

All 2 comments

@TanayParikh is going to take a look at this as all his other items are blocked right now.

No automatic "|" after = is pressed, is no longer an issue as we removed the snippet support as the experience wasn't too consistent across the board between taghelper attributes, directive attributes, parameters, etc: https://github.com/dotnet/aspnetcore/issues/22228~~

Edit: We should still get the "|" here because the snippet is being handled by the OnTypeFormattingHandler.

However, that change was made 12 days after you created this issue, which makes me suspect this may be indicative of another issue. Investigating further.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rynowak picture rynowak  路  3Comments

Kevenvz picture Kevenvz  路  3Comments

aurokk picture aurokk  路  3Comments

rbanks54 picture rbanks54  路  3Comments

ipinak picture ipinak  路  3Comments