Flux LSP
The Language Server Protocol (LSP) implementation for the Flux programming language.
This package powers the IDE experience for Flux, providing intelligent features in editors like VS Code.
Features
-
Code Completion:
- Keywords (
if,else,widget,var...) - Standard Library (
print,toString,http...) - Context-Aware Widget Properties: Intelligent suggestions for widget properties (e.g.,
width,colorinsideContainer).
- Keywords (
-
Go to Definition: Jump to variable and function definitions.
-
Hover Information: View documentation and types on hover.
-
Diagnostics: Real-time syntax error reporting.
Installation
This package is typically used as part of the Flux VS Code extension and doesn't need to be installed manually for end-users.
For extension developers, you can run the server via:
dart run flux_lsp
Protocol Support
| Method | Status |
|---|---|
initialize |
✅ |
textDocument/didOpen |
✅ |
textDocument/didChange |
✅ |
textDocument/completion |
✅ |
textDocument/hover |
✅ |
textDocument/definition |
✅ |
Libraries
- flux_lsp
- Flux Language Server Protocol Implementation