redhat-developer / redhat-developer/vscode-java

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

Aperta
#1,687 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@testforstephen ci sta già lavorando.

Dal 18/12/2020.

standalone files
Lingua principale
TypeScript
Stelle
2.3k
Fork
546
Merge medio
20h 1m
PR unite (30g)
11

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.