redhat-developer / redhat-developer/vscode-java
Feature Request: configurable `defaultOutputDir` instead of hardcoded `bin`
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 546
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Issue không nêu tên tệp mã nguồn, bài kiểm thử hoặc điểm vào nào; hãy bắt đầu bằng cách xác định đoạn mã thiết lập giá trị mặc định bin được hardcode của tiện ích mở rộng Java và xem xét cách xử lý cấu hình hiện có. Công việc được coi là hoàn tất khi người dùng có thể cấu hình defaultOutputDir mà không cần workaround của Gradle, với coverage cho đường dẫn đầu ra đã cấu hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, typescript, vscode
- Lĩnh vực
- build-system, developer-experience, tooling
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100