habara-k / clion-live-templates-generator

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Python 82.5%Language:C++ 17.5%