

When opening a file, WebStrom also shows some part of the parent folders so that you can understand which event.ts file you are editing as shown in the below screenshot. You may have lots of main.js or index.js files in each folder. The most important reason people chose WebStorm is: WebStorm integrates with Node.js to allow for running, debugging, and unit testing of Node.js apps. I generally don’t like to repeat name of the parent folder again when naming the file, so instead of jira/jira-event.ts and confluence/confluence-event.ts, I have jira/event.ts and confluence/event.ts files.įor developers not used to JavaScript web development this may seems unusual but it is a common practice in JavaScript projects. WebStorm is ranked 4th while Eclipse is ranked 16th. Īs you can see, I have event.ts file in both folders which are created for Confluence and Jira.

It is a AWS Lambda based project by the way. Lately I have done a complete refactor of code organization and divided my code to more folders.

Since there is no standard, I’m playing a lot with organization of my code from time to time. In JavaScript there is there is no universally accepted standards. There is an accepted standard for naming folders (packages), files, variables, methods etc. In Java there are more strict rules and standards about who you organize your code. JavaScript Source Map Issue with WebStorm
