Skip to content

habara-k/clion-live-templates-generator

Repository files navigation

clion-live-templates-generator

CI PyPI version License: MIT

What is this?

This is a tool to generate CLion's Live templates from a library of competitive programming.

Only C++ is supported.

How to use

Install

$ pip install clion-live-templates-generator

Generate Live templates

$ lt-generate -d <YOUR_LIBRARY_DIR>

Where to place

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

Try Live templates

  • restart CLion
  • push cmd + j

About

Generate CLion's Live templates from a library of competitive programming

Resources

License

Stars

Watchers

Forks

Packages

No packages published