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

[PROJECT] Switching to a Salsa based backend like Rust-Analyzer #362

Open
31 of 32 tasks
Sarrus1 opened this issue Jan 17, 2024 · 0 comments
Open
31 of 32 tasks

[PROJECT] Switching to a Salsa based backend like Rust-Analyzer #362

Sarrus1 opened this issue Jan 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request sourcepawn-lsp Issue affects the LSP tree-sitter Issue related to the tree-sitter grammar

Comments

@Sarrus1
Copy link
Owner

Sarrus1 commented Jan 17, 2024

As part of my end-of-study project, I am working on adding "real-time" lints (outside of spcomp) to sourcepawn-vscode.

The development is happening on the #feat/salsa branch, and as a result, main is frozen until this gets merged.

Using Salsa for lints will (should) yield much better performances out of the LSP. It will only compute what it needs to resolve requests, as opposed to what is currently done: parse all files and maintain a list of references for every declarations.

I will try to have a working beta as soon as possible. The goal is to have everything ready by the end of March.

List of TODOs before I can merge (will change):

  • Support for multiple files
  • GoToDefinition
  • GoToReferences
  • Completions
  • Hover
  • Prime caches with progress report
  • Preprocessor
  • Define/Macro support
  • Function support
  • Old function support
  • Native/forward support
  • Global variable support
  • Local variable support
  • Old variable support
  • Old type support
  • Array support
  • Default parameters support
  • Preprocessing offsetting
  • Enum struct support
  • Methodmap support
  • Methodmap inherits support
  • Enum support
  • Typedef support
  • Typeset support
  • Functag support
  • Funcenum support
  • Aliases support
  • Struct support
  • Deprecated support
  • Multiple definitions support
  • Documentation parsing
  • Flycheck with spcomp
@Sarrus1 Sarrus1 self-assigned this Jan 17, 2024
@Sarrus1 Sarrus1 added enhancement New feature or request sourcepawn-lsp Issue affects the LSP tree-sitter Issue related to the tree-sitter grammar labels Jan 17, 2024
@Sarrus1 Sarrus1 mentioned this issue May 18, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sourcepawn-lsp Issue affects the LSP tree-sitter Issue related to the tree-sitter grammar
Projects
None yet
Development

No branches or pull requests

1 participant