https://github.com/lwindolf/gedit-shellcheck
Gedit3 plugin for linting shell scripts using ShellCheck
https://github.com/lwindolf/gedit-shellcheck
bash gedit linter-plugin shell-scripts
Last synced: 3 months ago
JSON representation
Gedit3 plugin for linting shell scripts using ShellCheck
- Host: GitHub
- URL: https://github.com/lwindolf/gedit-shellcheck
- Owner: lwindolf
- License: gpl-3.0
- Archived: true
- Created: 2017-11-07T22:17:13.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2022-07-16T22:42:20.000Z (about 3 years ago)
- Last Synced: 2024-06-08T23:32:42.315Z (over 1 year ago)
- Topics: bash, gedit, linter-plugin, shell-scripts
- Language: Python
- Size: 43 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ShellCheck plugin for Gedit
===========================[](https://GitHub.com/lwindolf/gedit-shellcheck/releases/)
[](https://GitHub.com/lwindolf/gedit-shellcheck/tags/)
[](https://github.com/lwindolf/gedit-shellcheck/blob/master/LICENSE)
[](https://GitHub.com/lwindolf/gedit-shellcheck/issues/)
[](https://GitHub.com/lwindolf/gedit-shellcheck/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/lwindolf/gedit-shellcheck/issues)
[](https://GitHub.com/lwindolf/gedit-shellcheck/graphs/contributors/)
[](https://github.com/lwindolf/gedit-shellcheck)This software is a plugin for the text editor [Gedit](https://wiki.gnome.org/Apps/Gedit). It allows to check shell scripts using the [ShellCheck](https://www.shellcheck.net/) linter.

## Contributors
- This plugin is derived from the JSHint Gedit plugin by [Xavier Gendre](https://github.com/Meseira/gedit-jshint)
- Live checking and matching improvements by [Jürgen Key](https://github.com/elbosso)## Requirements
Requires Gedit 3.14+ and ShellCheck being installed. On Debian-based distros install it using
apt install shellcheck
## Installation
You might want to install the plugin using the [Gedit Plugin Installer](https://github.com/lwindolf/gedit-plugininstaller) or using these manual steps
git clone https://github.com/lwindolf/gedit-shellcheck.git
mkdir -p ~/.local/share/gedit/plugins/
cp -r gedit-shellcheck/shellcheck.plugin gedit-shellcheck/shellcheck/ ~/.local/share/gedit/plugins/Ensure to restart Gedit and activate the plugin in the preferences.
## Usage
When a shell source code file is active, you can check it
- editing and moving the cursor to the next line
- or by selecting menu option `Tools > Check with ShellCheck`The results are automatically displayed in the bottom panel.