- Simple snippet-based refactoring doodad
- Simple command sequences (kinda like macros for VSCode command IDs)
- Some esoteric editor commands
- Not much more than that
"seep.snippets": [
{
"label": "If statement",
"detail": "Surrounds the selected code in an if statement",
"snippet": "if ( ${1:true} ) {\r\n${TM_SELECTED_TEXT}\r\n}\r\n"
},
{
"label": "If-Else statement",
"detail": "Surrounds the selected code in an if-else statement",
"snippet": "if ( ${1:true} ) {\r\n${TM_SELECTED_TEXT}\r\n}\r\nelse {\r\n$0\r\n}\r\n"
},
{
"label": "Indexed For loop",
"detail": "Surrounds the selected code in an indexed for loop",
"snippet": "for ( int ${1:var} = 0; ${1:var} < ${2:limit}; ++${1:var} ) {\r\n$0${TM_SELECTED_TEXT}\r\n}\r\n"
},
{
"label": "Ranged For loop",
"detail": "Surrounds the selected code in a ranged for loop",
"snippet": "for ( auto ${1:var} : ${2:container} ) {\r\n$0${TM_SELECTED_TEXT}\r\n}\r\n"
},
{
"label": "While loop",
"detail": "Surrounds the selected code in a while loop",
"snippet": "while ( ${1:true} ) {\r\n$0${TM_SELECTED_TEXT}\r\n}\r\n"
},
{
"label": "Lambda wrapper",
"detail": "Converts the selected code to a local lambda declaration",
"snippet": "const auto ${1:lambda}{ [ ${2:captures} ]( ${3:params} ) {\r\n$0${TM_SELECTED_TEXT}\r\n} };\r\n"
},
]
"seep.sequences": [
{
"label": "Zoomy Zen",
"detail": "Enter Zoomed Zen Mode",
"commands": [
"workbench.action.toggleZenMode",
"editor.action.clipboardPasteAction"
]
},
{
"label": "Paste Paste",
"detail": "Paste twice, because bits are free",
"commands": [
"editor.action.clipboardPasteAction",
"editor.action.clipboardPasteAction"
]
}
]