Visual Studio XAML Intellisense 在我打开标签之前无法工作

Visual Studio XAML Intellisense not working until I open a tag

Intellisense working when I open a tag

But I want to use Intellisense without opening a tag. Like in the picture.

我可以用 ctrl + Space 组合来做到这一点。有什么办法可以自动完成吗?

我认为你目前无法得到你想要的。 XAml Intellisense 是特殊的,它应该与 <> 一起工作。所以调用 Intellisense 应该和他们一起。默认情况下没有您希望的自动方式。

毕竟,不是c#或者c++代码的类型,可以打字调用intellisense。 Xaml Intellisense 并不像您预期​​的那样灵活。

默认情况下 VS 没有设计,到目前为止我发现没有这样的 vs 扩展。

如果您仍然想要您的功能,可以suggest a feature on the DC Forum,然后在完成后在此处分享 link。包括我们在内的任何对此感兴趣的人都会对其进行投票,以帮助尽快从 Microsoft 获得反馈。