https://github.com/woozymasta/shell-script-ide
Set of extensions to convert VSCode to IDE for shell scripting (sh, bash)
https://github.com/woozymasta/shell-script-ide
bash bash-script bash-scripting shell shell-script shell-scripts vscode vscode-extensionpack
Last synced: 3 months ago
JSON representation
Set of extensions to convert VSCode to IDE for shell scripting (sh, bash)
- Host: GitHub
- URL: https://github.com/woozymasta/shell-script-ide
- Owner: WoozyMasta
- License: mit
- Created: 2021-10-23T00:47:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-24T10:43:32.000Z (over 3 years ago)
- Last Synced: 2025-02-06T12:33:45.484Z (5 months ago)
- Topics: bash, bash-script, bash-scripting, shell, shell-script, shell-scripts, vscode, vscode-extensionpack
- Homepage: https://marketplace.visualstudio.com/items?itemName=woozy-masta.shell-script-ide
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Shell script IDE
Set of extensions to convert VSCode to IDE for shell scripting (sh, bash)
## Install binary dependencies
For the extensions to work correctly, you need to install binary dependencies
into your operating system.---
Install **hadolint**:
* Download the [latest binary release][hadolint-releases] and install it on
your system, or use the official [installation guide][hadolint-install].---
Install **bashdb**:
Download [bashdb source][bashdb] files and install it:
```bash
BASDB_VERSION=5.0-1.1.2
curl -Lo "bashdb-$BASDB_VERSION.tar.gz" \
"https://sourceforge.net/projects/bashdb/files/bashdb/$BASDB_VERSION/bashdb-$BASDB_VERSION.tar.gz/download"
tar xf "bashdb-$BASDB_VERSION.tar.gz"
cd "bashdb-$BASDB_VERSION/"
./configure
make
sudo make install
```---
Optionally you can also install binaries for [**shellcheck**][shellcheck] and
[**shfmt**][shfmt]. But in most cases this is not necessary, they are installed
automatically when the extension is installed.* [github.com/koalaman/shellcheck][shellcheck]
* [github.com/mvdan/sh][shfmt]## Recommended VSCode setting
```json
{
"files.autoSave": "off",
"[shellscript]": {
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"editor.renderWhitespace": "boundary",
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.tabCompletion": "on",
"editor.snippetSuggestions": "top",
"editor.wordWrap": "off",
"editor.formatOnPaste": true,
"editor.rulers": [
{
"column": 72,
"color": "#1e751633",
},
{
"column": 80,
"color": "#c2790b99",
},
{
"column": 132,
"color": "#a10d2d99"
}
],
"editor.minimap.maxColumn": 132,
},
// Other settings
}
```## Links
* [Подготовка эффективной среды для написания bash сценариев][habr] - an article
in Russian about preparing an effective environment for developing
bash scripts[hadolint-releases]: https://github.com/hadolint/hadolint/releases
[hadolint-install]: https://github.com/hadolint/hadolint#install
[bashdb]: https://sourceforge.net/projects/bashdb/files/bashdb/
[shellcheck]:
[shfmt]:
[habr]: https://habr.com/ru/post/583320/