Skip to main content

Language tools for Pyxle: LSP server, linter, and editor integrations.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyxle_langkit-0.3.0.tar.gz (96.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyxle_langkit-0.3.0-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

Details for the file pyxle_langkit-0.3.0.tar.gz.

File metadata

  • Download URL: pyxle_langkit-0.3.0.tar.gz
  • Upload date:
  • Size: 96.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for pyxle_langkit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3baa1c35b1f1850395b520241ba593cd22ba46c3008e2044b3779db912c6d869
MD5 1b7da095ce0c178abe214c5a86153297
BLAKE2b-256 37c451a8fd9a457736fb69a9a0659f4ea404feffddf12a6dc5144855be89f8d4

See more details on using hashes here.

File details

Details for the file pyxle_langkit-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyxle_langkit-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 53.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for pyxle_langkit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4b9cfe5f20323b6dec8684cd4c5162e7f5685888a0ca4ac5b26110377f046b6
MD5 b6dd288054d74b5e20c0d5a8e1815f3e
BLAKE2b-256 2b4fa61f5d46aed2bf954bd3f9759c5a6a5c1ee88c9ef9bccf94fb9b4b2e4dd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page