Skip to content

Commit 0fd4e66

Browse files
authored
chore: 🔧 fix spacing for snippet, use 4 spaces, not 1 (#95)
# Description Match what was done in Sprout. No review needed.
1 parent 5274b35 commit 0fd4e66

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.vscode/python.code-snippets

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
2-
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
3-
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
4-
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
5-
// same ids are connected.
6-
// Example:
7-
// "Print to console": {
8-
// "prefix": "log",
9-
// "body": [
10-
// "console.log('$1');",
11-
// "$2"
12-
// ],
13-
// "description": "Log output to console"
14-
// }
15-
"Insert a Python test": {
16-
"prefix": "test-gwt",
17-
"body": [
18-
"def test_$1():",
19-
" # Given",
20-
" $2",
21-
" ",
22-
" # When",
23-
" $3",
24-
" ",
25-
" # Then",
26-
" $4",
27-
"",
28-
],
29-
"description": "Create Given-When-Then test"
30-
}
2+
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
3+
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
4+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
5+
// same ids are connected.
6+
// Example:
7+
// "Print to console": {
8+
// "prefix": "log",
9+
// "body": [
10+
// "console.log('$1');",
11+
// "$2"
12+
// ],
13+
// "description": "Log output to console"
14+
// }
15+
"Insert a Python test": {
16+
"prefix": "test-gwt",
17+
"body": [
18+
"def test_$1():",
19+
" # Given",
20+
" $2",
21+
" ",
22+
" # When",
23+
" $3",
24+
" ",
25+
" # Then",
26+
" $4",
27+
"",
28+
],
29+
"description": "Create Given-When-Then test"
30+
}
3131
}

0 commit comments

Comments
 (0)