This is a tool to generate CLion's Live templates from a library of competitive programming.
Only C++ is supported.
$ pip install clion-live-templates-generator
$ lt-generate -d <YOUR_LIBRARY_DIR>
Example
If you have already set up a live templates, please make a backup before you overwrite it.
- macOS
$ cp -i C_C__.xml ~/Library/Application\ Support/JetBrains/CLion2020.1/templates/C_C__.xml
For Linux and Windows, please refer to the following links
https://pleiades.io/help/clion/tuning-the-ide.html#config-directory
- restart CLion
- push
cmd + j