- Creates a basic orthodox canonical form for cpp and hpp files.
- Saves time on repetetive work.
- In VSCode, click on settings and then User Snippets.
- Click on the user snippet for cpp.
- Copy the contents of cpp.json from this repository into the opened file in VSCode.
- Usage:
- For .hpp files type 'ocfh' and press enter.
- For .cpp files type 'ocfp' and press enter.
- Alternatively go to "show and run commands", "insert snippet" and choose either 'ocfh' or 'ocfp'.
This project is part of my studies at 42 Heilbronn