fix: fix title

This commit is contained in:
Lance 2024-09-02 11:24:21 +08:00
parent 2f7a0feab9
commit dc724ff5ca
6 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@
| Name | Implementation |
|----------------------------------------|---------------------------------------------------------|
| `com.dida.didanugetextension.action.UpdateSolutionReferencesAction` | [UpdateSolutionReferencesAction][file:UpdateSolutionReferencesAction] |
| `com.dida.didanugetextension.action.UpdateSolutionReferencesAction` | [UpdateSolutionReferencesAction][file:UpdateSolutionReferences] |
| `com.dida.didanugetextension.action.UpdateReferencesByProjectChainAction` | [UpdateReferencesByProjectChain][file:UpdateReferencesByProjectChain]|
| `com.dida.didanugetextension.action.ReUpdateReferencesByProjectChainAction` | [ReUpdateReferencesByProjectChain][file:ReUpdateReferencesByProjectChain]|
@ -35,5 +35,5 @@
[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
[file:UpdateReferencesByProjectChain]: ./src/main/java/com/dida/didanugetextension/action/UpdateReferencesByProjectChainAction.java
[file:ReUpdateReferencesByProjectChain]: ./src/main/java/com/dida/didanugetextension/action/ReUpdateReferencesByProjectChainAction.java

View File

@ -31,7 +31,7 @@ public class ReUpdateReferencesByProjectChainAction extends BaseAction {
String command = "jenkins reUpdateReferences " + csprojPath;
if (project != null) {
new Task.Backgroundable(project, "Updating Solution References", false) {
new Task.Backgroundable(project, "ReUpdate References By Project Chain", false) {
@Override
public void run(@NotNull ProgressIndicator indicator) {
// 在这里执行你的CMD命令

View File

@ -29,7 +29,7 @@ public class UpdateReferencesByProjectChainAction extends BaseAction {
String csprojPath = file.getPath();
String command = "jenkins updateReferences " + csprojPath;
if (project != null) {
new Task.Backgroundable(project, "Updating Solution References", false) {
new Task.Backgroundable(project, "Update References By Project Chain", false) {
@Override
public void run(@NotNull ProgressIndicator indicator) {
// 在这里执行你的CMD命令

View File

@ -45,8 +45,8 @@ public class UpdateSolutionReferencesAction extends BaseAction {
public void update(AnActionEvent e) {
// 设置动作是否可见和启用
VirtualFile selectedFile = e.getData(CommonDataKeys.VIRTUAL_FILE);
boolean isCsprojFile = selectedFile != null && selectedFile.getName().endsWith(".sln");
e.getPresentation().setEnabledAndVisible(isCsprojFile);
boolean isSlnFile = selectedFile != null && selectedFile.getName().endsWith(".sln");
e.getPresentation().setEnabledAndVisible(isSlnFile);
}
}