Skip to content

pyxle-framework/pyxle-langkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyxle Language Toolkit

Language tools for Pyxle .pyxl files — LSP server, linter, and VS Code extension.

Features

  • Syntax highlighting via TextMate grammar (Python + JSX sections)
  • Diagnostics from pyflakes, Babel, and Pyxle-specific rules
  • Completions via Jedi (Python) + Pyxle component completions (JSX)
  • Hover documentation for Python symbols and Pyxle decorators/components
  • Go-to-definition via Jedi with cross-section navigation
  • Document symbols and workspace symbols
  • Formatting with ruff (Python) and prettier (JSX)
  • Semantic tokens via AST analysis

Installation

pip install pyxle-langkit

The VS Code extension is available on the VS Code Marketplace.

Architecture

All intelligence lives in the Python LSP server. The VS Code extension is a thin LSP client (~100 LOC).

  • Python analysis: Jedi for completions, definitions, hover
  • JSX analysis: Pyxle-specific completions + Babel for validation
  • Static analysis: pyflakes + Pyxle rules
  • LSP framework: pygls

License

MIT

About

Language tools for Pyxle: LSP server, linter, and VS Code extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors