Live Template demo can't work
Answered
https://plugins.jetbrains.com/docs/intellij/new-macros.html#check-plugin
According to the doc, I run the demo and highlight the text and enter Ctrl/Cmd+J to open the Select Template popup. Confirm that the SDK: Convert to title case is available in the popup, and select it.
But it can't work. I check the code and find the method `TitleCaseMacro#calculateResult` can't get that text I selected. it's empty string.
Later, I find that when I use ** Ctrl + Alt + T**. Confirm that the SDK: Convert to title case is available in the popup, and select it.It works!!!
So, is it my fault or the document's fault?
Please sign in to leave a comment.
Thanks for the report, I've updated the docs to mention correct "Surround With..." action instead.