redhat-developer / redhat-developer/vscode-java

Invisible / "no build tools" projects in workspace not recognized

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

@testforstephen đang làm issue này rồi.

Từ ngày 18/12/2020.

standalone files
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ả

Additionally to #1672 I found the following problem:

Let's assume my students add new Java project with the Java Projects + wizard in an existing workspace.

If you're in a workspace with the following structure:

workspace_root
workspace_root/project1 --> Maven project

As soon as you add a second "No build tools" Java project like this:

workspace_root/project2 --> "No build tools" Java project

it will not be recognized.

If your structure is like this:

workspace_root
workspace_root/project1 --> "No build tools" Java project
workspace_root/project2 --> "No build tools" Java project

The extension seems like it wants to merge both classpaths and shows errors due to both projects having an App.java

This can easily reproduced by just adding two projects.

I don't know if this problem is related to the nature of invisible projects.

Everything works fine for those no build tools if you open each project in a separate window in VSCode. It's only a problem if you're using workspaces.

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.

Đánh giá

Issue này chưa được đánh giá.

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.