This Visual Studio Code extension, "RUG Snippets", provides a quick and efficient way for the University of Groningen (RUG) students to create file templates in C language. The extension includes templates for file creation adhering to the University's coding standards, thereby saving time and ensuring consistency.
With just a code snippet, students can generate a boilerplate code for a C program with just a simple trigger of snippet prefix. The snippet includes:
- Filename
- Author's name and email
- Current date
- Brief description of the program
- Standard headers and main function declaration
- Debug macro
The following is an image depicting the extension in action:
- Install the extension into your VS Code.
- Open a new file and set the language mode to C.
- Type "pftemplate" in the new file, and press
Enter
. - The snippet will run and generate the C template adhering to the University's coding standard.
You can then substitute your name, email, and a brief description of your program in the predetermined placeholders.
Currently, the extension doesn't contribute any settings. It doesn't rely on any specific settings or configuration in VS Code.
This is the first release. There are currently no known issues. If you stumble upon any issues or wish to see any new features added to the extension, please feel free to submit them on the issues page.
Initial release of RUG Snippets.
Enjoy Programming with RUG Snippets Extension!