gurumutant icon

C++ Boilerplate Snippet for VSCode

gurumutant | PRO | 01/19/22 03:33:47 AM UTC | 0 ⭐ | 1306 👁️ | Never ⏰ | []
JSON |

680 B

|

None

|

0 👍

/

0 👎

{
    // Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and 
    // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
    // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 
    // same ids are connected.
    // Example:
    "boilerplate": {
        "prefix": "boilerplate code",
        "body": [
            "#include <iostream>",
            "using namespace std;",
            "",
            "int main() {",
            "\t$1",
            "\treturn 0;",
            "}"
        ],
        "description": "Kode dasar untuk memulai membuat program sederhana"
    }
}

Comments