redhat-developer / redhat-developer/vscode-java

Show "Organize Import" quick pick menu when import results are ambiguous if "java.saveActions.organizeImports : true"

Aperta
#900 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@testforstephen ci sta già lavorando.

Dal 25/4/2019.

code action enhancement
Lingua principale
TypeScript
Stelle
2.3k
Fork
547
Merge medio
20h 1m
PR unite (30g)
11

Descrizione

Currently, the window implemented in this PR https://github.com/redhat-developer/vscode-java/pull/850 is only shown when we select the menu action "Organize Imports".

For people that use java.saveActions.organizeImports: true, it resolves all non-ambiguous imports, but we still have to go back and resolve the ambiguous imports in the editor, OR to open the menu action "Organize Inputs"

Proposal:

If java.saveActions.organizeImports is true and we find that there are ambiguous results, open that window and focus on it.

Can also have settings flag whether people want that feature or not.

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.