feat(PhpLangDoc): support PHP | 支持 PHP

This commit is contained in:
林万程
2024-02-08 10:07:41 +08:00
parent 10074b3ac7
commit 62c52fa93d
12 changed files with 155 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ Show doc comment at the Project view Tree, line End, json, other
<h2>English Note</h2>
<ul>
<li>support Java Kotlin JS/TS Python Go Rust SQL
<li>support Java Kotlin JS/TS PHP Python Go Rust SQL
<li>tree doc from lang or README.md pom .gradle etc. by settings
<li>input `doc` `docc` -> /** */
<li>json doc from xxx.json.tsv
@@ -31,7 +31,7 @@ Show doc comment at the Project view Tree, line End, json, other
<li>In path, "doc" can replace any, and can use % like in SQL, effect at previous layer when folder named -1
<li>The lines in key.tsv will be concatenated with `|` to regexp; longer str should in front; startWith `?` to exclude
<li>Chang tsv file in find pop window would not reload!
<li>The tsv conf file must could be search in "Go to File"(Ctrl + Shift + N)
<li>The tsv conf file must could be search in "Go to File" (Ctrl + Shift + N)
</ul>
<h3>My Project</h3>
@@ -39,6 +39,9 @@ Show doc comment at the Project view Tree, line End, json, other
<li>Show doc comment at the Project view Tree, line End, json etc.:
<a href="https://plugins.jetbrains.com/plugin/18553-show-comment">Show Comment</a>
</li>
<li>show line count for file / method, show children count for dir in project view (tree on left):
<a href="https://plugins.jetbrains.com/plugin/23300-line-num">Line Num</a>
</li>
<li>Method call usage graph and maven dependency graph:
<a href="https://plugins.jetbrains.com/plugin/21242-draw-graph">Draw Graph</a>
</li>
@@ -51,7 +54,7 @@ Show doc comment at the Project view Tree, line End, json, other
<hr>
<h2>中文说明</h2>
<ul>
<li>在行末尾显示 引用对象的文档注释,支持 Java Kotlin JS/TS Python Go Rust SQL
<li>在行末尾显示 引用对象的文档注释,支持 Java Kotlin JS/TS PHP Python Go Rust SQL
<li>在结构树显示 文件注释 或 项目说明 (README.md pom.xml 等,可设置)
<li>输入 doc / docc 等生成 /** */
<li>json 字段注释从 xxx.json.tsv 读取
@@ -80,6 +83,9 @@ Show doc comment at the Project view Tree, line End, json, other
<li>在文件树、行末、JSON 显示注释:
<a href="https://plugins.jetbrains.com/plugin/18553-show-comment">Show Comment</a>
</li>
<li>在文件树显示行数、文件数:
<a href="https://plugins.jetbrains.com/plugin/23300-line-num">Line Num</a>
</li>
<li>生成 方法调用图 和 Maven 依赖图:
<a href="https://plugins.jetbrains.com/plugin/21242-draw-graph">Draw Graph</a>
</li>
@@ -118,8 +124,9 @@ Show doc comment at the Project view Tree, line End, json, other
<depends optional="true" config-file="python.xml">com.intellij.modules.python</depends>
<depends optional="true" config-file="go.xml">org.jetbrains.plugins.go</depends>
<!-- old version -->
<depends optional="true" config-file="rust.xml">org.rust.lang</depends>
<depends optional="true" config-file="rust_old.xml">org.rust.lang</depends>
<depends optional="true" config-file="rust.xml">com.jetbrains.rust</depends>
<depends optional="true" config-file="php.xml">com.jetbrains.php</depends>
<!--suppress PluginXmlValidity, MybatisMapperXmlInspection -->
<!--<depends optional="true" config-file="cs.xml">com.intellij.modules.rider</depends>-->