Reputation: 11
I have WebStorm and I can't understand how exactly to open the js file in browser. I opened some help docs and it was written that I should click view and then preview in browser but I didn't see such an option.
My default browser is Firefox.
Upvotes: 0
Views: 1021
Reputation: 3733
Choose View | Preview file in on the main menu or press Alt+F2. Then select the desired browser from the pop-up menu.
Upvotes: 0
Reputation: 3627
You can open only html (or view based files) in browsers.
You should run javascript files from your console using nodejs (if you don't wanna see UI)
Upvotes: 1