工具: visual studio 2022 community,Resharper in .net Ultimate
问题:创建标签时,比如我想写个新的Grid,输入 <Grid>,resharper会自动给我改成一个<Grid/>。后边想继续输入row和column就麻烦死了,还要 alt+enter 调出 快捷菜单,再选Expand empty tag。
解决方法:Resharper => options => code editing => xaml => 取消勾选 "Always create self-closed tags in code completion."