This extension provides the standard C++ boilerplate code for General usage.
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.
- io
#include<iostream>
using namespace std;
int main()
{
return 0;
}
- al
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
return 0;
}
- Install Visual Studio Code 1.57.0 or higher
- Launch VS Code
- Launch the command palette by using
Ctrl-Shift-P
(Windows, Linux) orCmd-Shift-P
(OSX) - Type in Install Extension and select 'Extensions : Install Extensions'
- Type
Cpp Boilerplate Code
- Choose the extension from the drop down
- Reload Visual Studio Code
Initial release of Cpp Boilerplate Code.