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

V1 based on the tree-sitter grammar #4

Merged
merged 33 commits into from
Jun 4, 2024
Merged

V1 based on the tree-sitter grammar #4

merged 33 commits into from
Jun 4, 2024

Conversation

EmileRolley
Copy link
Collaborator

@EmileRolley EmileRolley commented Apr 22, 2024

Use the tree-sitter grammar to improve the language server (closes #2).

Note

Depends on publicodes/tools#38 to be merged and published and from the tree-sitter grammar too.

Tasks

  • Semantic highlight
  • Goto definition
  • Hover
  • Auto-completion
    • Simplify with the current rule name
    • Needs to remove deleted rules from the completion list (bug)
  • Diagnostics
    • Thrown errors are catch and displayed in the right location
    • Manage warn and error logging from the engine
    • Rule def multiple time in different files
  • Fix bug when creating a new file after the LS is started
  • Support deleting/renaming files
  • Manage avec mecanism
  • Support NGC model
    • Fix then bug when file content > MAX_INT
    • Support all the pulicodes grammar
  • Clean the code to easy contributions
  • (Perf profiling?)
  • Support deleting/renaming dirs (not working see Manage folder changes #5)

@EmileRolley EmileRolley added enhancement New feature or request server labels Apr 22, 2024
@EmileRolley EmileRolley changed the title refactor!: use the tree-sitter grammar V1 based on the tree-sitter grammar May 13, 2024
@EmileRolley EmileRolley marked this pull request as ready for review June 4, 2024 07:44
@EmileRolley EmileRolley merged commit bdad449 into main Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Removed rules should be tracked and not shown in completion
1 participant