Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Visual Studio Code Shell SnippetsNew to Visual Studio Code? Get it now.
Visual Studio Code Shell Snippets

Visual Studio Code Shell Snippets

DeepInThought

|
21,106 installs
| (1) | Free
This extension adds Bash shell script snippets for fast scripting.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • Please visit: LICENSE.md.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft