How to get a file folder in LiveTemplate groovy script?
I'm using a groovy script for a LiveTemplate variable and I'd like to output value depending on the folder of the currently edited file. According to the docs, I can only use fileName() and fileNameWithoutExtension() values.
How do I get an enclosing folder (or a full path) of the current file?
Please sign in to leave a comment.
Hello Nick,
Feel free to create feature request on YouTrack: https://youtrack.jetbrains.com/issues/IDEA
Ticket here: https://youtrack.jetbrains.com/issue/IDEA-204994