An extension that helps you simpify the process of writing required code for the USACO grading system to recognize your submission. Currently supports C++, but will include Java and Python in the future.
Future Plans
[ ] (Using a json file to) remember the user's ID
[ ] Use QuickPickItem as the item parameter in ShowQuickPick instead of just strings to provide better descriptions/hints (specifically for choosing the fstream library)
[ ] Add Java support
[ ] Add Python support
Exclusively for C++
[ ] Neglect the fstream library part upon creating the template because we need to test our code using iostream; then the user can press a short-cut key or something like that, and the system will automatically add the fstream snippets if necessary and convert the resulting code into a txt file for submitting.
Features
Automatically creates the comments section, imports the necessary libraries, and conveniently generates a main function and using namesapce std;! All you have to do is to enter the task name (usually it is specified in the prompt: if the output format is XXX.out, then XXX is the task name), your USACO user ID, whether you need to use the fstream library (same as above), and where you want to store your brilliant code.
If you know some code in C++/Java/Python that you have to write everytime for a USACO submission, feel free to open an issue on Github and I will add them to the extension! I don't know any Java/Python so this can really help!
As an absolute TS noob (bruh I don't even know how to use JS), there is definitely room for reducing some unnecessary code and warning messages. Even just scanning through the code and reducing clutter helps! I have made comments at suspicious sections and will pin issues that I have discovered myself but have no idea how to deal with those bad boys.
(Major) Release Notes
0.0.1
Initial release of the USACO extension! Supports only C++.
Disclaimer
This extension is not affiliated nor endorsed by the USACO and the USACO staff. Use at your own risk! I'm not responsible for any effect this extension might have on your USACO submissions/grades. (Well theoretically there shouldn't be any, but just in case)