razor icon indicating copy to clipboard operation
razor copied to clipboard

HTML attribute completion broken if element has content

Open Peter-Juhasz opened this issue 1 year ago • 1 comments

VS 17.12.0 P1

https://github.com/user-attachments/assets/43a62d72-f31c-4b52-9578-3b6c53694fe6

<button$$>Test</button>

Peter-Juhasz avatar Aug 23 '24 18:08 Peter-Juhasz

@davidwengier @phil-allen-msft I don't think we've changed code generation around this recently so it's probably not compiler. Will let you folks take a first look and tag us in if you think it's something we broke :)

chsienki avatar Aug 29 '24 17:08 chsienki

@Peter-Juhasz I believe we fixed this issue a while back but never resolved it (using a different issue as the primary). I just tried on the latest VS to verify, and it seems to work fine for me

Image

would you please let me know if you are still seeing the issue? Thanks!

alexgav avatar Jun 25 '25 21:06 alexgav

Yep, I can confirm it does work.

Peter-Juhasz avatar Jun 26 '25 07:06 Peter-Juhasz