Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SeepNew to Visual Studio Code? Get it now.
Seep

Seep

Techno Cosmic Research Institute

|
74 installs
| (0) | Free
Modest C++ Toolbox
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Features

  • Simple snippet-based refactoring doodad
  • Simple command sequences (kinda like macros for VSCode command IDs)
  • Some esoteric editor commands
  • Not much more than that

Example settings for some C++ snippets

    "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} ](https://github.com/technocosmic/seep/blob/HEAD/ ${3:params} ) {\r\n$0${TM_SELECTED_TEXT}\r\n} };\r\n"
        },
    ]

Example (silly) command sequences

    "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"
            ]
        }
    ]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft