DidaNuGetExtension/Readme.md
2024-09-02 11:24:21 +08:00

39 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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](./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 |
|----------------------------------------|---------------------------------------------------------|
| `com.dida.didanugetextension.action.UpdateSolutionReferencesAction` | [UpdateSolutionReferencesAction][file:UpdateSolutionReferences] |
| `com.dida.didanugetextension.action.UpdateReferencesByProjectChainAction` | [UpdateReferencesByProjectChain][file:UpdateReferencesByProjectChain]|
| `com.dida.didanugetextension.action.ReUpdateReferencesByProjectChainAction` | [ReUpdateReferencesByProjectChain][file:ReUpdateReferencesByProjectChain]|
## 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/UpdateReferencesByProjectChainAction.java
[file:ReUpdateReferencesByProjectChain]: ./src/main/java/com/dida/didanugetextension/action/ReUpdateReferencesByProjectChainAction.java