redhat-developer / redhat-developer/vscode-java

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

オープン
#1,687 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

@testforstephen がすでに取り組んでいます。

2020年12月18日 から。

standalone files
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。