@WebStormIDE Is there a way to get the parent folder name when creating a new file (for file template variables)?
-
-
Replying to @stevensacks
no, only project and file names are available https://www.jetbrains.com/help/webstorm/2016.3/file-and-code-templates-2.html …
2 replies 0 retweets 0 likes -
Replying to @WebStormIDE
example: name folder after component. Make index.jsx file inside. Set component class name to folder name.
1 reply 0 retweets 0 likes -
Replying to @stevensacks
have seen many projects that use the component/conponent.js project structure.
4 replies 0 retweets 0 likes
Replying to @WebStormIDE @stevensacks
and for that would suggest to use this template http://blog.500tech.com/quick-add-react-component-to-webstorm/ …
3:45 AM - 15 Nov 2016
0 replies
0 retweets
0 likes
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.