docs: add readme

This commit is contained in:
Lance 2024-09-02 10:58:05 +08:00
parent 7f796fc117
commit 7eca861af1
4 changed files with 36 additions and 3 deletions

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

BIN
images/project.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

BIN
images/solution.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB