Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 1.43 KB

README.md

File metadata and controls

69 lines (45 loc) · 1.43 KB

Visual Studio Code Shell Snippets

Code snippets of bash shell commands, functions and scripts for visual studio code.

Visual Studio Code Shell Snippets

  1. Installation
  2. Source Code
  3. Snippets
    1. Common
    2. Tests
    3. Bulk
  4. About Us
    1. Licensing Information

Installation

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

ext install vscode-shell-snippets

Source Code

Repository Home: https://github.com/DeepInThought/vscode-shell-snippets.git

Snippets

Common

JSON File: snippets/shellscript.json

  • if/elif/else
  • echo/read
  • for/while/until/break
  • function
  • case expr

Tests

JSON File: snippets/tests.json

  • test int/string/file

Bulk

JSON File: snippets/bulk-snippets.json

  • read file by line
  • batch rename files
  • awk
    • substr
    • printf
    • for loop

About Us

Visit README.deepIT.md for more information on @DeepInThought.

Licensing Information