termux language server
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:
- 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
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
Close
Hashes for termux-language-server-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a4186f6dfc98354d68f52741024e04f2997134d98870e888ff3a7877362868 |
|
MD5 | 5573dc6b2e4e1c0a127497622affadec |
|
BLAKE2b-256 | 434ab95b078b99512489eadb99d50f9eb828f12ab1bdc8d6e99ca3184e1bab54 |
Close
Hashes for termux_language_server-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4aa4f6104894461d52a5077ce8d5d454e452e787f85f7674480eff263fd36c9 |
|
MD5 | 09213e8011361486e1b69a63a950d3a5 |
|
BLAKE2b-256 | e4f2f672123f2277f2292761a95f250ea19fa901fa3acfec7920d7dde647a2a7 |