forth-lsp

Crates.ioforth-lsp
lib.rsforth-lsp
version0.4.1
created_at2023-06-13 12:20:47.958475+00
updated_at2025-12-01 23:58:31.110736+00
descriptionLSP for the Forth programming language
homepage
repositoryhttps://github.com/alexanderbrevig/forth-lsp
max_upload_size
id888964
size292,848
Alexander Brevig (AlexanderBrevig)

documentation

README

forth-lsp

CI

A Language Server Protocol implementation for Forth, bringing modern IDE features to Forth development.

Features

  • Hover - View documentation for built-in words and user-defined functions
  • Completion - Auto-complete for built-in words and your definitions
  • Go to Definition - Jump to where words are defined
  • Find References - Find all usages of a word
  • Rename - Rename symbols across your workspace
  • Document Symbols - Outline view of word definitions in current file
  • Workspace Symbols - Search for definitions across all files
  • Signature Help - View parameter information while typing
  • Diagnostics - Real-time error detection for undefined words
  • Formatting - Auto-format your code with configurable options

Installation

cargo install forth-lsp

Then configure your editor to use forth-lsp. Works with any LSP-compatible editor (VS Code, Neovim, Helix, Emacs, etc.).

Contributing

Issues and PRs welcome!

Development

# Run tests
cargo test --workspace
# or
cargo t
Commit count: 25

cargo fmt