Language server for build.sh, PKGBUILD, ebuild
Project description
termux-language-server
Language server for some specific bash scripts:
This language server only provides extra features which bash-language-server doesn't support:
- Diagnostic:
- error
- required variables
- variable type: string/array/function
- variable values
- warning
- variable order
- unsorted values
- style check
-
PKGBUILD: by namcap
-
- error
- Document Formatting:
- sort variables
- sort values
- Document Link:
-
build.sh: https://github.com/termux/termux-packages/tree/master/packages/package_name/build.sh -
PKGBUILD:- ArchLinux: https://archlinux.org/packages/package_name
- Windows Msys2: https://packages.msys2.org/base/package_name
-
ebuild: https://packages.gentoo.org/packages/package_name
-
- Hover
- Completion
- builtin variables
- package names
-
build.sh -
PKGBUILD: by pyalpm -
ebuild
-
- Code Action
-
PKGBUILD- generate a template by the name of directory containing
PKGBUILD, the templates comes from:- customized by user
- pip2pkgbuild
- cpan2aur
- gem2arch
- arch-hs
- update
.SRCINFObymakepkg --printsrcinfo > .SRCINFO - update
pkgsumsbyupdpkgsums - update version by a
nvcheck.tomlto tell this program where to search new version:
- generate a template by the name of directory containing
-
[package_name]
source = "github"
github = "author_name/repo_name"
use_max_tag = true
Other features:
- pre-commit-hooks
- linter
- formatter
Screenshots
Diagnostic
Document Link
Hover
Completion
How Does It Work
For every subtype of bash, there exists one json respecting json schema specification to provide the following information:
- variable type
- variable description
- variable value enumerate
- is variable required
- ...
If you want to support more filetypes, just add a new json schema for it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file termux-language-server-0.0.13.tar.gz.
File metadata
- Download URL: termux-language-server-0.0.13.tar.gz
- Upload date:
- Size: 94.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d8607f1e259460538eb3ec6267cf2ffe3ec8559bc3eac2c00a9038cb121414
|
|
| MD5 |
a5f27043cada59ffbc891f3c1e09dfaf
|
|
| BLAKE2b-256 |
0f3b6b93103566b8feed67d9cbc3f9537f12d0a1ee4119758e349fa115bf28bf
|
File details
Details for the file termux_language_server-0.0.13-py3-none-any.whl.
File metadata
- Download URL: termux_language_server-0.0.13-py3-none-any.whl
- Upload date:
- Size: 100.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87ad691b403867bedc797c63a9baf0273b425566f85303244f68b438264766d4
|
|
| MD5 |
e9a42abfe29493af70d4b9164e3da444
|
|
| BLAKE2b-256 |
9d73b7d0157690db1827f3b6bc5c91a06ecaeb579119b0d8d3a55eb76f86ecfc
|