Advertisement
gurumutant

C++ Boilerplate Snippet for VSCode

Jan 18th, 2022
1,022
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.68 KB | None | 0 0
  1. {
  2.     // Place your snippets for cpp 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.     "boilerplate": {
  8.         "prefix": "boilerplate code",
  9.         "body": [
  10.             "#include <iostream>",
  11.             "using namespace std;",
  12.             "",
  13.             "int main() {",
  14.             "\t$1",
  15.             "\treturn 0;",
  16.             "}"
  17.         ],
  18.         "description": "Kode dasar untuk memulai membuat program sederhana"
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement