diff --git a/Readme.md b/Readme.md index 7949cc5..3a47dbc 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,40 @@ -DidaNuGetExtension Rider Version -## Quickstart +# DidaNuGetExtension Rider Version + + +## Quickstart [![JetBrains IntelliJ Platform SDK Docs](https://jb.gg/badges/docs.svg)][docs] + +## Install 编译好的插件在 ``build/libs/DidaNuGetExtension-1.0-SNAPSHOT.jar`` -![plugin install](./image.png) +![plugin install](./images/image.png) + +### 解决方案右键 +![solution](./images/solution.jpg) +- Update Solution References + +> 这个功能会遍历当前解决方案中的所有项目,根据项目中的packages.config文件中引用到的Dida的包,去服务器上直接copy并覆盖到packages文件夹(一般在 D:\dida\packages )。 + +### 项目右键 +![project](./images/project.jpg) +- UpdateReferencesByProjectChain +> 更新当前项目以及它所依赖的项目的引用,有缓存。 +- ReUpdateReferencesByProjectChain +> 更新当前项目以及它所依赖的项目的引用,无缓存。 + + +## Extension Points + +| Name | Implementation | Desc | +|----------------------------------------|---------------------------------------------------------|----------------------------| +| `UpdateSolutionReferencesAction` | [UpdateSolutionReferencesAction][file:UpdateSolutionReferencesAction] | `Configurable` | +| `UpdateReferencesByProjectChain` | [UpdateReferencesByProjectChain][file:UpdateReferencesByProjectChain] | `PersistentStateComponent` | +| `ReUpdateReferencesByProjectChain` | [ReUpdateReferencesByProjectChain][file:ReUpdateReferencesByProjectChain] | `PersistentStateComponent` | + +## Reference +*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]* + [docs]: https://plugins.jetbrains.com/docs/intellij/ [docs:ep]: https://plugins.jetbrains.com/docs/intellij/plugin-extensions.html +[file:UpdateSolutionReferencesAction]: ./src/main/java/com/dida/didanugetextension/action/UpdateSolutionReferencesAction.java +[file:UpdateReferencesByProjectChain]: ./src/main/java/com/dida/didanugetextension/action/UpdateReferencesByProjectChain.java +[file:ReUpdateReferencesByProjectChain]: ./src/main/java/com/dida/didanugetextension/action/ReUpdateReferencesByProjectChain.java \ No newline at end of file diff --git a/image.png b/images/image.png similarity index 100% rename from image.png rename to images/image.png diff --git a/images/project.jpg b/images/project.jpg new file mode 100644 index 0000000..b4fc02c Binary files /dev/null and b/images/project.jpg differ diff --git a/images/solution.jpg b/images/solution.jpg new file mode 100644 index 0000000..2828849 Binary files /dev/null and b/images/solution.jpg differ