40 lines
2.1 KiB
Markdown
40 lines
2.1 KiB
Markdown
# DidaNuGetExtension Rider Version
|
||
|
||
|
||
## Quickstart [][docs]
|
||
|
||
## Install
|
||
编译好的插件在 ``build/libs/DidaNuGetExtension-1.0-SNAPSHOT.jar``
|
||

|
||
|
||
### 解决方案右键
|
||

|
||
- Update Solution References
|
||
|
||
> 这个功能会遍历当前解决方案中的所有项目,根据项目中的packages.config文件中引用到的Dida的包,去服务器上直接copy并覆盖到packages文件夹(一般在 D:\dida\packages )。
|
||
|
||
### 项目右键
|
||

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