diff --git a/settings.json b/settings.json index 6a02116..a01a214 100644 --- a/settings.json +++ b/settings.json @@ -55,6 +55,7 @@ "coloring": "disabled" }, "project_panel": { + "hide_gitignore": true, "indent_size": 10, "indent_guides": { "show": "never" diff --git a/snippets/python.json b/snippets/python.json index adbf6d1..42bd702 100644 --- a/snippets/python.json +++ b/snippets/python.json @@ -1,17 +1,32 @@ { - "Todo": { + "printf": { + "prefix": "printf", + "body": "print(f\"{${1:foo} = }\")$0", + "description": "Python snippet 'printf'" + }, + "printf-debug": { + "prefix": "printf", + "body": "print(f\"{${1:foo} = }\"${2:, file=sys.stderr})${3: # DEBUG}$0", + "description": "Python snippet 'printf-debug'" + }, + "todo": { "prefix": "todo", "body": "# TODO: $0", - "description": "Python snippet 'Todo'" + "description": "Python snippet 'todo'" }, - "FixMe": { + "fixme": { "prefix": "fixme", "body": "# FIXME: $0", - "description": "Python snippet 'FixMe'" + "description": "Python snippet 'fixme'" }, - "Hack": { + "hack": { "prefix": "hack", "body": "# HACK: $0", - "description": "Python snippet 'Hack'" + "description": "Python snippet 'hack'" + }, + "debug": { + "prefix": "debug", + "body": "# DEBUG: $0", + "description": "Python snippet 'hack'" } }