在VS Code中,相当于JetBrains IDE中的”双击Shift以搜索任何地方”的功能是:

huangapple go评论61阅读模式
英文:

JetBrains IDE double shift to search everywhere equivalent in VS Code

问题

在JetBrains的IDE(如IntelliJ)中,当您按下<kbd>Shift</kbd>键两次时,会弹出一个名为“搜索所有地方”的对话框,您可以在其中键入任何关键字或类名,它会列出所有匹配项(甚至包括第三方类,如果源代码可用)。

在VS Code中是否有类似的功能来实现JetBrains的“搜索所有地方”?
链接:https://blog.jetbrains.com/idea/2020/05/when-the-shift-hits-the-fan-search-everywhere/

英文:

In JetBrains IDEs like IntelliJ, when you press <kbd>Shift</kbd> key twice it pops up a 'Search Everywhere' dialog that you can type any keyword or class names and it lists all matches (even 3rd party classes if sources are available).

Is there any equivalent for JetBrains Search Everywhere in VS Code?
https://blog.jetbrains.com/idea/2020/05/when-the-shift-hits-the-fan-search-everywhere/

答案1

得分: 1

命令面板中有一个在工作区中查找符号命令,默认绑定为<kbd>ctrl/cmd</kbd>+<kbd>t</kbd>。这是否适用于您可能取决于提供语言支持的扩展是否解析出您想要搜索的符号并访问您想要搜索的第三方库。

如果这不起作用,您可以使用搜索视图,进行文本/正则表达式搜索。

英文:

There's the Go to Symbol in Workspace command in the command palette, which is bound by default to <kbd>ctrl/cmd</kbd>+<kbd>t</kbd>. Whether or not that will work for you will I think depend on whether the extension providing language support that you are using parses out symbols that you want to search for and reaches into the 3rd party libraries you want to search in.

If that doesn't work, you could use the Search View and just do text/regex searches.

huangapple
  • 本文由 发表于 2023年6月19日 02:04:16
  • 转载请务必保留本文链接:https://go.coder-hub.com/76501923.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定