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

AST support : Context sensitive auto-completions for exposing in import declarations #241

Open
rundis opened this issue Sep 28, 2016 · 0 comments

Comments

@rundis
Copy link
Contributor

rundis commented Sep 28, 2016

Summary:

When the user has positioned the cursor inside an exposing node of a import declaration an editor should be able to suggest only relative hint suggestions. Akin to the description in #239.

Discussion

  • Need to have access to other modules AST so that one can list relevant nodes that are exposed from the module you are importing. This may be out of scope, but illustrates the need for gaining access to exposeds from a module. Both at top level and for ADTs

Details

  • Need to be able to identify based on cursor position that you are in the exposed node of an import declaration node (and also if inside an exposed node of an exposed ADT!)
  • Need to be able to list what is already exposed for an import (to be able to filter out dupes)
  • Need to be able to list exposeds for any module and also for ADTs their exposed types
@avh4 avh4 added the discussion label Mar 8, 2017
@avh4 avh4 modified the milestone: 2.0.0 public AST Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants