Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

create custom snippet vscode

/*To create or edit your own snippets, select User Snippets 
under File > Preferences > User Snippets (Code > Preferences on macOS), 
and then select the language for which the snippets should appear*/

// Snippets are written in JSON Example:
{
	"Your Snippet Name": {
      "prefix": "ysn",
      "body": [
          "//Here you type all the code that should appear",
          "//Separating each line",
          "//Remember to add tabs with 	"
      ]
    }
}
Source by code.visualstudio.com #
 
PREVIOUS NEXT
Tagged: #create #custom #snippet #vscode
ADD COMMENT
Topic
Name
2+8 =