[英]Visual Studio Command Palette does not exist
I want to use Angular in Visual Studio.我想在 Visual Studio 中使用 Angular。 I have currently Visual Studio 2017.
我目前有 Visual Studio 2017。
I need to install something by using the command palette, but there is not command palette in Visual Studio.我需要使用命令调色板安装一些东西,但 Visual Studio 中没有命令调色板。 I used ctrl+shift+p or ctrl+p combinations, and then nothing happened.
我使用了 ctrl+shift+p 或 ctrl+p 组合,然后什么也没发生。 I also checked the View section, and there is no integrated command line section or anything else.
我还检查了视图部分,没有集成的命令行部分或其他任何内容。
Command pallete only available for Visual Studio Code, https://code.visualstudio.com/ .命令调色板仅适用于 Visual Studio Code, https://code.visualstudio.com/ 。 You have installed the wrong one.
你安装错了。 For Angular development I highly recommend Visual Studio Code, not the full fledged heavy Studio 2017. Please use the link I posted above.
对于 Angular 开发,我强烈推荐 Visual Studio Code,而不是成熟的 Studio 2017。请使用我在上面发布的链接。
Command palette is not available for Full-Featured Visual Studio.命令面板不适用于全功能 Visual Studio。
It is available for Visual Studio Code which is an open-source and very lightweight version of Full-Featured Visual Studio.它适用于 Visual Studio Code,它是全功能 Visual Studio 的开源且非常轻量级的版本。
There is GoTo All option in visual studio which has similar features like file search and other interesting features for code navigation. Visual Studio 中有 GoTo All 选项,它具有类似的功能,例如文件搜索和其他有趣的代码导航功能。 But command execution features are missing.
但是缺少命令执行功能。
There is a ticket raised for Visual Studio to implement this feature.为 Visual Studio 提出了一张票来实现此功能。 You can upvote to increase the chances of getting it from Visual Studio Officially.
您可以投票以增加从 Visual Studio 正式获得它的机会。
https://developercommunity.visualstudio.com/idea/460947/command-palette.html https://developercommunity.visualstudio.com/idea/460947/command-palette.html
If not someone has to develop an extension package for this feature.如果不是,则必须有人为此功能开发扩展包。
Visual Studio 2022 has a feature similar to a command palette, called QuickLauncher
. Visual Studio 2022具有类似于命令面板的功能,称为
QuickLauncher
。 You can open it by pressing Ctrl + Q by default or change the keyboard settings to use Ctrl + P , which is what I did for my setup.您可以通过默认按Ctrl + Q打开它,或者将键盘设置更改为使用Ctrl + P ,这是我为我的设置所做的。 ( Default Shortcuts in Visual Studio )
( Visual Studio 中的默认快捷方式)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.