Visual Studio Code 中的方法列表 [英] Method List in Visual Studio Code
问题描述
我最近开始使用 Visual Studio Code 编辑器.我真的很喜欢它,但有一个关键功能(对我而言)我一直找不到.是否有类似于 NetBeans 中的 Navigator 或 Visual Studio 中的 Member 下拉列表的方法列表?
I've recently started using the Visual Studio Code editor. I'm really loving it, but there's one critical feature (for me) that I haven't been able to find. Is there a method list, similar to the Navigator in NetBeans or Member dropdown in Visual Studio?
推荐答案
是的,有 workbench.action.gotoSymbol
命令.在 Windows 和 Linux 上,它默认设置为 CTRL+Shift+O.
Yes, there is the workbench.action.gotoSymbol
command. On Windows and Linux it's set to CTRL+Shift+O by default.
如果此命令不适用于您正在使用的文件类型,那么您应该查看 VSCode 扩展.并非所有语言都支持此功能.
If this command isn't available for the file types you are working with then you should take a look at the VSCode extensions. Not all languages support this feature.
这篇关于Visual Studio Code 中的方法列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!