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
.SRCINFO
bymakepkg --printsrcinfo > .SRCINFO
-
update
pkgsums
byupdpkgsums
-
update version by a
nvcheck.toml
to 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
See here.