Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform autocomplete for unimported values #817

Closed
lalaithion opened this issue Nov 27, 2020 · 2 comments
Closed

Perform autocomplete for unimported values #817

lalaithion opened this issue Nov 27, 2020 · 2 comments

Comments

@lalaithion
Copy link

This library provides two features which often conflict.

  1. This library wants you to replace all imports with explicit import lists. I see the value of doing this. However,
  2. This library also provides autocomplete, but cannot autocomplete a value defined in another file when the file is imported, but the value is not in the import list.

I would greatly desire a feature which would allow auto completion (with auto-insertion into the import list) of values defined in other files but not explicitly imported.

I understand this may be prohibitive due to the way things are implemented, so a workaround that would be acceptable to me would be an option to disable warnings on unused/redundant imports.

(I use this library via the VSCode extension, so if this issue has been filed in the wrong place, please let me know.)

@jneira
Copy link
Member

jneira commented Nov 27, 2020

@lalaithion hi! thanks for the suggestion. I think the proposal is similar to haskell/ghcide#576.

@lalaithion
Copy link
Author

Thanks!

@pepeiborra pepeiborra transferred this issue from haskell/ghcide Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants