redhat-developer / redhat-developer/vscode-java

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

Open
#900 0 comments 0 reactions 1 assignee View on GitHub

@testforstephen is already working on this.

Since Apr 25, 2019.

code action enhancement
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.