Zack Saadioui
3/11/2025
1
Ctrl+Shift+P
1
Cmd+Shift+P
1
Preferences: Configure User Snippets
1
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
factorial
1
factorial
Copyright © Arsturn 2025