JR BASHnippets
Snippets BASH para VS Code de Jordi Roca
Report Bug
.
Request Feature
Table Of Contents
About The Project
Bash Snippets for VS Code
Built With
First built on December, 29th, 2022 using:
Getting Started
Add the extension to VS Code
Usage
When editing shellscript files use the following snippets:
prefix |
description |
shebang-bash |
Adds a shebang for 'bash' shell scripts, a magic comment for file encoding and a header |
heredoc2var |
Assign heredoc to variable |
heredoc2file |
cat heredoc to file |
if |
An IF command. |
elseif |
Add an elseif to an if command. |
else |
else |
forin |
for VAR in LIST |
fori |
For I with an INDEX |
while |
While loop |
until |
until loop |
fn |
Insert a function definition |
contains |
Check if substring in a string |
indexofsubstring |
Index of substring in a string |
License
Distributed under the MIT License. See LICENSE for more information.
Authors
| |