flux_lsp 0.1.0 copy "flux_lsp: ^0.1.0" to clipboard
flux_lsp: ^0.1.0 copied to clipboard

Language Server Protocol implementation for Flux scripting language. Provides IDE features like autocomplete.

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, color inside Container).
  • 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
0
likes
120
points
157
downloads

Publisher

unverified uploader

Weekly Downloads

Language Server Protocol implementation for Flux scripting language. Provides IDE features like autocomplete.

Documentation

API reference

License

MIT (license)

Dependencies

args, flux_compiler

More

Packages that depend on flux_lsp