Nafiul Islam
Nafiul Islam

Reputation: 82570

Setting up Nodejs for WebStorm

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: enter image description here

How do I get WebStorm to accept app.listen(3000)?

Upvotes: 1

Views: 569

Answers (1)

de1mar
de1mar

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

Related Questions