redhat-developer / redhat-developer/vscode-java
Support referenced libraries for Eclipse projects
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Type: Bug
So I have this project set up where I have .project and .classpath files in root folder.
Now I'm saving this as a workspace file and therein I have added a new referencedLibrary setting to include the jar file in lib folder.
Expected: Opening the workspace, the jar in lib folder should be used as dependency, ideally should be updated in .classpath file.
Actual: .classpath file is not updated. Neither does vscode honor the setting in workspace file.
Extension version: 1.14.0
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:32:34.589Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No
Connection to 'ssh-remote+100.108.204.190' could not be established
System Info
| Item | Value |
|---|---|
| CPUs | 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1805) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.73GB (17.29GB free) |
| Process Argv | --folder-uri vscode-remote://ssh-remote%2B100.108.204.190/scratch/anaray/view_storage/anaray_apps-pt/fusionapps/atf/components/commonComp/atk/essMeta/AtkEssMetaDataPublicUi |
| Screen Reader | no |
| VM | 0% |
Connection to 'ssh-remote+100.108.204.190' could not be established
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用根目录中的 .project 和 .classpath 文件、一个 lib JAR 以及 referencedLibrary workspace 设置来复现 workspace。然后跟踪扩展如何读取 workspace 设置和 Eclipse classpath 元数据。当 JAR 被用作依赖项且 .classpath 文件得到一致更新时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100