Podman Quadlet Language Server
This is an implementation of language server for
Podman Quadlet
files.
Language server binaries are bundled together with the extension, but you can
find it in this repository:
repository.
Features
Following features are currently available:
- Code completion
- Provide static completion based on Podman Quadlet documentation
- Query images, volumes, networks, pods, and so on, and provide completion
based on real configuration
- Hover menu
- Implemented "go definition" and "go references" functions
- Provide syntax checking Provide built-in commands
For more details, documentation and demo, please check the
onlyati/quadlet-lsp repository.
[!NOTE]
Open your issues/questions in the onlyati/quadlet-lsp repository.
Requirements
Extension Settings
Known Issues
For some reason, VS Code does not refresh the diagnostics after
.quadletrc.json file change. After this file change, restart VS Code top apply
changes.
The line continuation is not handled from the highlight view. Each line count as
different definitions, although the language server handle it. Reason of this
issue that I haven't found a way how I could implement it in VS Code, like I did
in Neovim.
Release Notes
0.0.10
Apply: https://github.com/onlyati/quadlet-lsp/releases/tag/v0.6.0
Features
- Support Podman v5.7.0 features
https://github.com/onlyati/quadlet-lsp/issues/136:
- Quadlet .container files now support a new key, HttpProxy, to disable the
automatic forwarding of HTTP proxy options from the host into the container.
- Quadlet .pod files now support a new key, StopTimeout, to configure the stop
timeout for the pod
- Quadlet .build files now support two new keys, BuildArg and IgnoreFile, to
specify build arguments and an ignore file
- Implement hover, code completion and starter template for artifact Quadlets.
- Implement new rule (QSR026).
Fixes
0.0.9
New highlight definition. From now the ':', ',', '/' and '=' characters in value
are highlighted differently so it is easier to read.
0.0.8
Detect dropin files as Quadlet files. Apply
https://github.com/onlyati/quadlet-lsp/releases/tag/v0.5.0
0.0.7
Add feature for toggle comment.
Apply https://github.com/onlyati/quadlet-lsp/releases/tag/v0.4.0
Features
- 3rd party extension for Zed editor (#61)
- Hover explanation for systemd specifiers (#57)
- Hover explanation for
UserNS (#78)
- Hover explanation for
Volume (#84)
- Hover explanation for
Secret (#85)
QSR022: validate path with systemd specifier (#57)
QSR023: validate systemd specifiers (#57)
QSR024: warn for forbidden properties in [Service] (#77)
- Completion for systemd specifiers (#72)
- The
go definition and go references works with template files (#75)
- Rule disabling on file basis (#81)
Bugfixes
QSR003 pointed the error to the previous line (#64)
QSR021 accept all accept all systemd unit types (#65)
QSR008, QSR009: fix naming convention checking (#66)
- The
; also count as valid comment character besides # (#76)
0.0.6
Apply https://github.com/onlyati/quadlet-lsp/releases/tag/v0.3.1
Bugfixes
Features
0.0.5
Apply https://github.com/onlyati/quadlet-lsp/releases/tag/v0.3.0
modifications.
Features
Bugfixes
0.0.4
Fix a bug: language server failed if there was not .quadletrc.json file in the
current working directory.
0.0.3
Apply and bundle 0.2.0 Quadlet LSP, with its goodies.
0.0.2
Initial version