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

Absinthe autocompletions doesnt work #157

Closed
kasvith opened this issue May 26, 2022 · 3 comments
Closed

Absinthe autocompletions doesnt work #157

kasvith opened this issue May 26, 2022 · 3 comments

Comments

@kasvith
Copy link

kasvith commented May 26, 2022

Since Absinthe uses macros heavily, Elixir-Sense doesn't do proper autocompletion.
A custom plugin like below will help resolving this problem as mentioned

elixir-lsp/elixir-ls#193 (comment)

@gugahoa
Copy link
Contributor

gugahoa commented Aug 12, 2022

@lukaszsamson do you mind mentoring me on how to do it? Just a few pointers should be enough

@Matsa59
Copy link

Matsa59 commented Aug 17, 2022

@gugahoa I just start for phoenix (only scope for the moment). It's not so hard. Look how the plugin for ecto works.

Basically you have to implement the function suggestion defined by the behavior ElixirSense.Plugin (or something like that, sorry I'm on my phone).

Then it's about text and data manipulation

@lukaszsamson
Copy link
Collaborator

Closing as this is not en elixir_sense issue

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

4 participants