@WebStormIDE Is there a way to get the parent folder name when creating a new file (for file template variables)?
no, only project and file names are available https://www.jetbrains.com/help/webstorm/2016.3/file-and-code-templates-2.html …
-
-
example: name folder after component. Make index.jsx file inside. Set component class name to folder name.
-
have seen many projects that use the component/conponent.js project structure.
- 2 more replies
New conversation -
-
-
ETA on this extremely useful feature for React development?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.