Skip to content

arcanecode/VSCode_User_Snippets

Repository files navigation

VSCode_User_Snippets

This repository contains my custom user snippets for VSCode (aka Visual Studio Code). You are free to copy and modify them for your installation of VSCode. You'll quickly find how useful snippets in VSCode can be.

Editing your own User Snippets

In VSCode, select the File menu, Preferences, User Snippets

In the search box that appears in the top middle of VSCode, find the language you want to create snippets for.

So far this repository has snippets for PowerShell and MarkDown.

Copy and paste my snippet files into your VSCode instance, or take and modify the ones you find useful.

Note, in many of the snippets I include my name, websites, etc, so be sure to update them with your own information.

Please see the Snippet_Reference.md file, in this repository, for a quick overview of how a snippet file should be formatted, along with a quick reference of variables you can use inside your own snippets.

VSCode Settings Sync

If you have enabled the new feature in VSCode, Settings Sync, then great news! User snippets are included in the sync feature. So any snippets you create on one computer are automatically propigated to all other computers you have VSCode on (and turned on Settings Sync). This applies to Windows, macOS, and Linux.

MarkDown Snippets

Note that by default, intellisense is not enabled in MarkDown files within VSCode, making them harder to use. See the article Enable_Intellisense_In_MarkDown.md in this repository for instructions on how to enable it.


Author Information

Author

Robert C. Cain | @ArcaneCode | [email protected]

Websites

About Me: http://arcanecode.me

Blog: http://arcanecode.com

Github: http://arcanerepo.com

LinkedIn: http://arcanecode.in

Copyright Notice

This document is Copyright (c) 2020, 2021 Robert C. Cain. All rights reserved.

The code samples herein is for demonstration purposes. No warranty or guarantee is implied or expressly granted.

This document may not be reproduced in whole or in part without the express written consent of the author and/or Pluralsight. Information within can be used within your own projects.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published