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

language-server: implement completion #10

Open
dev-zero opened this issue Apr 5, 2020 · 0 comments
Open

language-server: implement completion #10

dev-zero opened this issue Apr 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dev-zero
Copy link
Contributor

dev-zero commented Apr 5, 2020

ok, we probably need a parsing/abstract syntax tree for this, then it could work like:

  1. parse until cursor line
  2. if the syntax is correct until here we should get the AST/parsing tree (if we are driving the parsing directly we can simply stop, if not by catching an exception)
  3. from the parsing we should get the current section in the schema
  4. lookup other keys/values
@dev-zero dev-zero added the enhancement New feature or request label Apr 5, 2020
dev-zero added a commit that referenced this issue Jun 18, 2020
with this, building blocks for implementing #10 should be there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant