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.1.tar.gz (98.2 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.1-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyxle_langkit-0.3.1.tar.gz
  • Upload date:
  • Size: 98.2 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.1.tar.gz
Algorithm Hash digest
SHA256 7e3ea91b3fbdbb1bd700f7269434fb6c226152180189a8d247bd550b6a65bae6
MD5 ec960b9e253ba888f5b5045f5d7ef2f1
BLAKE2b-256 6da9c93e5ca5f5a6a29f797c3873073b2506d342941cdc3bdfe3c6edf77a430e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyxle_langkit-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 54.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fdf4283d155be93fa5b2b5ee0b159c53058ea60fb1522d3ec2ca95c533e256fe
MD5 05c4b53eca069723374352613f024d34
BLAKE2b-256 e832cc70cea6dadf289633f25eb3d0a78577ee1e9f39a35c16323ad3a683cd14

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