Live template function className() for CLion C++
Answered
Is there a way to use the live template function 'className()' for C++ live templates?
I wan't to set the value of a live template variable to the full name of the class in which the current template has been expanded.
Everything I tried doesn't work (expands to nothing respectively null).
Please sign in to leave a comment.
Hello!
Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-3244. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
Well it is not really helpful to just link to a youtrack issue and mark this question as answer. I still have the problem that a can't automatically insert the class name in a live template. And I think waiting for the issue to get implemented isn't an option since it is open for almost 5 years now...