add apply plugin: "net.serenity-bdd.serenity-gradle-plugin" to build.gradle, then vscode is not able to recognize the project as a java project
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java, vscode
调研方向
使用 spring-guides gs-gradle 项目、Gradle 8.2.1、VS Code 以及 build.gradle 中的 Serenity Gradle plugin 重现该问题。首先比较运行 clean build 和 Clean Workspace 前后的 Java Projects;完成的标准是添加 plugin 后,该项目及其 Java 对象和库仍能被识别。
由索引模型根据 Issue 内容生成。
描述
adding apply plugin: "net.serenity-bdd.serenity-gradle-plugin" to build.gradle, then vscode is not able to recognize the project as a java project
Environment:
- VS Code Version: 1.85.1
- Extension Version: Extension Pack for Java v0.25.15
- JDK Type & Version: Oracle, v11.0.8
- OS Type & Version: windows
Step to Reproduce:
- Have a standard alone java starter gradle project, e.g. we use spring gradle sample java project from https://github.com/spring-guides/gs-gradle, download the project to local machine, and upgrade gradle to version 8.2.1
- using vscode open folder complete of the project
- at this point, we can run gradle build of the project, vscode recognize this project as a java project, and shows all objects and libs info in tab "JAVA PROJECTS"
- now open build.gradle file and add the following plugin:
plugins {
id "net.serenity-bdd.serenity-gradle-plugin" version "4.0.30"
} - run ./gradlew clean build
- right click tab "JAVA PROJECTS" and select "clean workspace"
- wait for vscode clean workspace is done, you will see below message under tab "JAVA PROJECTS"
No java projects found in the current workspace. you can open a java project folder......
Expected Behavior:
at step 7. we should see the updated java objects and libs information under tab "JAVA PROJECTS"
Actual Behavior:
vscode does not recognize the java project any more and you will see below message under tab "JAVA PROJECTS"
No java projects found in the current workspace. you can open a java project folder......
Related Issues:
No
- 主要语言
- TypeScript
- 星标
- 352
- 派生
- 166
- 平均合并
- 17 小时 47 分钟
- 30 天内合并 PR
- 32
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-java-pack 的其他 Issue
-
ai-triaged bug
难度 4/5 3-5 天 新手友好度 42/100
microsoft/vscode-java-pack#1543 · 8 条评论 · 4 个 reaction ·
-
ai-triaged bug
难度 3/5 1-2 天 新手友好度 35/100
microsoft/vscode-java-pack#1443 · 1 条评论 · 2 个 reaction ·
-
ai-triaged bug
难度 3/5 1-2 天 新手友好度 45/100
microsoft/vscode-java-pack#1425 · 1 条评论 ·
-
ai-triaged enhancement feature-request
难度 5/5 一周以上 新手友好度 20/100
microsoft/vscode-java-pack#1423 · 2 条评论 · 1 个 reaction ·
-
ai-triaged area/jdtls bug needs-investigation
难度 4/5 3-5 天 新手友好度 25/100
microsoft/vscode-java-pack#1420 · 1 条评论 ·
查看 microsoft/vscode-java-pack 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
copse-dev/agent-pane#2953 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
calcite-components needs triage refactor
难度 2/5 1-3 小时 新手友好度 75/100
Esri/calcite-design-system#15203 ·