Is there a way in CLion to create custom function templates for easily inserting a lot of repetitive junk from a parameter or more? As an example the following would ideally take a parameter of FUNCTION_NAME:
/*
* FUNCTION_NAME
*
*/
void FUNCTION_NAME() {
try {
} catch (CustomException e) {
e.StackTrace.Add("at FUNCTION_NAME");
throw e;
}
}
CLion supports live templates
The sequence of actions for your case is shown in 
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With