A Language Server for zc.buildout.
This language server is implemented using pygls.
Needs a python >= 3.8.
python -m pip install zc.buildout.languageserver
Then configure your editor to run buildoutls
( or python3 -m buildoutls
).
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.
${
or[
complete sections.${section:
completesection
's options. Ifsection
uses a known recipe, dynamic options from the recipe are also completed.${buildout:extends}
completes filenames.${buildout:parts}
and<=
option completes parts.
- 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
- Sections and options are shown are displayed in outline as symbols.
${buildout:extends}
are links.
- from
${section:options}
we can go to the location whereoption
is defined insection
, or tosection
header if it's not defined. - from
<= section
we can go tosection
. - from
${buildout:extends}
we can go to the extended profile.
- Hover on an option show the option value.
- Hover on a recipe shows the recipe documentation
- 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.
- update a python package from
[versions]
to its latest version on pypi - compute the
md5sum
of an url
- python code in options is highlighted.
- "current" buildout profile is guessed, then completions and diagnostics should work on any files.
- Jinja syntax is syntax highlighted and jinja syntax markers are ignored when parsing buildout.
- SlapOS instance buildout (ie. buildout generated by buildout) is understood,
${
and$${
are treated separatly for completions and diagnostics.