简体   繁体   English

在PHPStorm中从PHPDoc排除路径?

[英]Exclude path from PHPDoc in PHPStorm?

I am working on a wordpress site and one of the plugins (buddypress) has declarations the same as the main wordpress core functions but without the PHPDoc comments. 我在wordpress网站上工作,其中一个插件(buddypress)的声明与主要的wordpress核心功能相同,但没有PHPDoc注释。 This means I am not getting the PHPDoc info unless I go to declaration and select which declaration I am want to look at. 这意味着除非获得声明并选择要查看的声明,否则我不会获得PHPDoc信息。

Is there anyway to remove this plugins folder from the scope of PHPDoc so I can still get the info? 无论如何,有没有从PHPDoc的范围中删除此plugins文件夹,所以我仍然可以获得信息?

Open project window. 打开项目窗口。 Select your folder. 选择您的文件夹。 Invoke context menu and select Mark directory as -> Excluded 调用上下文菜单,然后选择将Mark directory as -> Excluded

Some useful links: 一些有用的链接:

  1. https://www.jetbrains.com/phpstorm/help/excluding-files-from-project.html https://www.jetbrains.com/phpstorm/help/excluding-files-from-project.html
  2. https://www.jetbrains.com/phpstorm/help/directories.html https://www.jetbrains.com/phpstorm/help/directories.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM