Reputation: 82570
I've been trying all say to get syntax and autocomplete working in WebStorm. I've installed WebStorm 7 EAP. Right now, I'm trying to get this simple script to highlight properly:
How do I get WebStorm to accept app.listen(3000)
?
Upvotes: 1
Views: 569
Reputation: 1216
I think the best solution which became available in one of the recent EAPs is to download library via Setting | JavaScript | Libraries | Download. Select TypeScript community stubs there and add express.js. TypeScript library file will improve completion and highlighting in pure JavaScript project. Also please see WEB-8801.
Upvotes: 7