redhat-developer / redhat-developer/vscode-java
Feature Request: configurable `defaultOutputDir` instead of hardcoded `bin`
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Feature Request
Please provide a configuration to change defaultOutputDir bin
Detail
I'm not an eclipse user, as I know, bin is widely used as a dir that stores shell scripts, but vscode java plugin uses it as the default output dir, and can not be changed by configuration, the only way I know is using gradle eclipse plugin to generate .classpath with modified config by groovy script in build.gradle, see #634
buildDir = "build/gradle"
apply plugin: 'java'
apply plugin: 'eclipse'
eclipse {
classpath {
defaultOutputDir = file('build/eclipse')
file.whenMerged {
entries.each { entry ->
if (entry.kind == 'src' && entry.hasProperty('output')) {
entry.output = entry.output.replace('bin/', "build/eclipse/")
}
}
}
}
}
@jdneo https://github.com/redhat-developer/vscode-java/issues/2801#issuecomment-1318256946
You can vote for https://github.com/redhat-developer/vscode-java/issues/1615 to help us prioritize.
If anyone encounter this issue, please comment / give 👍 / link related issue to this one, to help the team escalate the priority of this issue.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 没有指出源文件、测试或入口点;首先定位设置 Java 扩展硬编码 bin 默认值的代码,并检查现有的配置处理逻辑。完成的标准是用户可以不使用 Gradle workaround 配置 defaultOutputDir,并且覆盖已配置的输出路径。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- build-system, developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100