Skip to main content

A Language Server for zc.buildout.

This language server is implemented using pygls.

Installation

Standalone

Needs a python >= 3.8.

python -m pip install zc.buildout.languageserver

Then configure your editor to run buildoutls ( or python3 -m buildoutls ).

From vscode extension

On activation, the extension automatically installs the extension on the python configured in the extension preferences.

The automatic installation does not seem to work with theia and the python egg has to be installed beforehand.

Features

Completions

  • ${ or [ complete sections.
  • ${section: complete section's options. If section uses a known recipe, dynamic options from the recipe are also completed.
  • ${buildout:extends} completes filenames.
  • ${buildout:parts} and <= option completes parts.

Diagnostics

  • non existant section and options in ${section:option} references.
  • required options not defined for a a few "known recipes".
  • python package listed in [versions] with known vulnerabilities

Symbols

  • Sections and options are shown are displayed in outline as symbols.
  • ${buildout:extends} are links.

Go to definitions

  • from ${section:options} we can go to the location where option is defined in section, or to section header if it's not defined.
  • from <= section we can go to section.
  • from ${buildout:extends} we can go to the extended profile.

Hover

  • Hover on an option show the option value.
  • Hover on a recipe shows the recipe documentation

Find references

  • Find references of the current symbol. A bit simple, it only look for references and does not check if profiles really extends each other. It does not look in templates either.

Code actions

  • update a python package from [versions] to its latest version on pypi
  • compute the md5sum of an url

Semantic tokens

  • python code in options is highlighted.

Template support

  • "current" buildout profile is guessed, then completions and diagnostics should work on any files.

Jinja2 support

  • Jinja syntax is syntax highlighted and jinja syntax markers are ignored when parsing buildout.

SlapOS support

  • SlapOS instance buildout (ie. buildout generated by buildout) is understood, ${ and $${ are treated separatly for completions and diagnostics.

Metadata

Release files for zc.buildout.languageserver 0.18.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zc.buildout.languageserver 0.18.0
File Size Uploaded Provenance Actions
zc_buildout_languageserver-0.18.0.tar.gz 72.4 kB Without provenance Details for zc_buildout_languageserver-0.18.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zc.buildout.languageserver 0.18.0
File Interpreter ABI Platform Actions
zc_buildout_languageserver-0.18.0-py3-none-any.whl Python 3 none any Details for zc_buildout_languageserver-0.18.0-py3-none-any.whl

Total release size: 149.4 kB

Release files / zc_buildout_languageserver-0.18.0.tar.gz

Download URL zc_buildout_languageserver-0.18.0.tar.gz
Size 72.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7925d58a43f8ca7ce8dcc751f708729633fd980048bef36c76cb6ed6af0fa4ce
BLAKE2b-256 checksum
How to use checksums
94b0fa12d288529bf756935d1528f0fbef8f1e07b858c23e5b95d9b5150a33c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / zc_buildout_languageserver-0.18.0-py3-none-any.whl

Download URL zc_buildout_languageserver-0.18.0-py3-none-any.whl
Size 77.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ded96f5aa80d817b97bc9ce9943d1d8162642c34d958f2b99bb63073d40b7ec4
BLAKE2b-256 checksum
How to use checksums
b5133481df350f02d4aac030e53671c83a94c80c9b55cdc0c5e7055f66c1de6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for zc.buildout.languageserver 0.18.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.18.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page