Zack Saadioui
3/11/2025
1
Ctrl+Shift+P1
Cmd+Shift+P1
Preferences: Configure User Snippets1
2
3
4
5
6
7
8
9
10
11
json
{
    "Snippet Name": { 
        "prefix": "snippet_prefix",
        "body": [ 
            "code_line_1",
            "code_line_2"
        ],
        "description": "Description of the snippet"
    }
}1
2
3
4
5
6
7
8
9
10
11
12
13
json
{
    "Factorial Function": {
        "prefix": "factorial",
        "body": [
            "def factorial(n):",
            "    if n == 0:",
            "        return 1",
            "    return n * factorial(n - 1)"
        ],
        "description": "Calculates the factorial of a number"
    }
}1
factorial1
factorialCopyright © Arsturn 2025