redhat-developer / redhat-developer/vscode-java

Make project import interactive

Đang mở
#4,156 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

enhancement import
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ả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi luồng import khi khởi động, chế độ tương tác hiện có và ranh giới giữa extension VS Code với language server. Xác định cách người dùng chọn các thư mục và importer, giải quyết vấn đề của importer, rồi kích hoạt import sau đó; hoàn thành khi các tương tác này cung cấp phản hồi chính xác mà không phụ thuộc vào việc chỉ import khi khởi động.

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
Lĩnh vực
developer-experience, tooling
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.