redhat-developer / redhat-developer/vscode-java

Make project import interactive

未关闭
#4,156 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement import
主要语言
TypeScript
星标
2.3k
派生
547
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

Right now, importing Java projects is happening at startup. I am aware that there is the "interactive" mode, but all that allows me to do is to veto the import of the projects. (If I select "later", how do I later import the projects? There seems to be no "Import Projects" command 🤷 )

Let's consider making the import more interactive by

  • allow the user to pick which directories will be imported
  • allow the user to select which import will import a directory is two or more want to import a given directory
  • allow importers to ask the user to fix problems while importing (think "no compatible Java version" could be fixed by selecting a JDK directory).

In order to implement something like this, we'd have to move control of the import process to the vscode-java side instead of handling import in the language server. That would also alllow us to give more precise feedback if something goes wrong with the import. IMO.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先跟踪启动时的导入流程、现有的交互模式,以及 VS Code 扩展与语言服务器之间的边界。明确用户如何选择目录和导入器、解决导入器问题,并在之后触发导入;当这些交互能够提供精确反馈,而不依赖仅在启动时进行的导入时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript
领域
developer-experience, tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。