【问题标题】:Is there a way to search for a PHP function in all of my documents in Visual Studio Code? [closed]有没有办法在 Visual Studio Code 的所有文档中搜索 PHP 函数? [关闭]
【发布时间】:2020-08-13 08:27:48
【问题描述】:

有没有一种简单的方法可以在我的所有文档中搜索 PHP 函数?

【问题讨论】:

  • 你用的是什么IDE?
  • 我使用 Visual Studio 代码
  • 欢迎来到 StackOverflow。你收到答案的速度取决于你的问题有多好。请阅读以下文章,了解如何提出一个好问题。 stackoverflow.com/help/how-to-ask
  • @hendrik-eg code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf 参考富语言编辑 -> 转到定义。 F12 是键盘快捷键,我猜
  • 我正在寻找一种同时搜索多个文件的方法。也许与终端。 (我在终端中使用了 Silver Searcher,但我找不到它的功能。)

标签: php search visual-studio-code


【解决方案1】:

如果您在其中使用 "Sublime Text 3",请单击 ctrl + f。然后你会看到输入写在那里“function ”。

enter image description here

如果您使用 "Visual Studio Code",您可以使用相同的 ctrl + f,除此之外,您还可以搜索项目中的所有文件,为此你需要点击侧边栏中的搜索图标,在那里你会看到输入,在那里写下你需要找到的东西。

使用ctrl + f enter image description here

使用侧边栏搜索: enter image description here

您可以在 google 中搜索如何在其他代码编辑器中执行此操作(如果您有其他代码编辑器)?

【讨论】:

    猜你喜欢
    • 2018-02-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-11-17
    • 2016-03-17
    • 1970-01-01
    • 2018-07-13
    相关资源
    最近更新 更多