/cpp-vsc-extension

This is a Visual Studio Code snippet extension for generating C++ boilerplate code

Cpp Boilerplate Code

This extension provides the standard C++ boilerplate code for General usage.

Features

Type 'io' or 'al' in an C++ file and select the snippet from the auto suggestion dropdown to get the C++ boilerplate to get started quickly.

Snippets

  1. io
#include<iostream>
using namespace std;

int main()
{
    return 0;
}
  1. al
#include<iostream>
#include<algorithm>
using namespace std;

int main()
{
    return 0;
}

Installation

  1. Install Visual Studio Code 1.57.0 or higher
  2. Launch VS Code
  3. Launch the command palette by using Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Type in Install Extension and select 'Extensions : Install Extensions'
  5. Type Cpp Boilerplate Code
  6. Choose the extension from the drop down
  7. Reload Visual Studio Code

Release Notes

1.0.0

Initial release of Cpp Boilerplate Code.

Source

Github