Rust-based language server and VS Code extension for Pine Script v6. Why did i build this? Well, I know there were tons of Pinescript LSP extensions which featured different stuff, many claiming to have 100% coverage (they don't. they really don't.) while offering no benefits over others. I also wanted to have the multiple features that other LSP extensions have for pinescript, such as logical errors being caught + duplicate/dead code warnings. Ultimately, this extension is for my personal usage but I hope this also benefits anyone who tries to use, or contribute to this project!
Note: This extension does not support all functions etc yet! But it's getting there, I would say 70% of the things are supported. You can contribute if you want, or wait for me to update for more!
What’s included
LSP server with diagnostics, hover, completion, signature help, go-to definition, references and rename.
Inspired by knip and clippy, this extension also features code cleanup warnings! If a function, variable etc. is unused, it will warn you for that!
Catching usual and subtle logical errors, as such lookahead and repainting behaviors for example will be caught by the server and warn you about it!