A little regex to name some of the pages or function? #2
Replies: 3 comments
-
Sure @CodingWithDavidZ, tbh even I was thinking of this feature, glad that you asked... |
Beta Was this translation helpful? Give feedback.
-
Hi @CodingWithDavidZ, After multiple tries Will update this right away in the snippet, |
Beta Was this translation helpful? Give feedback.
-
It is now available in the 0.1.2 version. kindly reload the extension @CodingWithDavidZ :) |
Beta Was this translation helpful? Give feedback.
-
I was thinking you could use something like "${TM_FILEPATH/.*\/([^\\/]+)\/([^\\/]+)\.[^.]+$/${1:/capitalize}${2:/capitalize}/}" to PascalCase the "Page" name with the directory and file.
Beta Was this translation helpful? Give feedback.
All reactions