typescript - How does WebStorm recognize Angular language service? -
i building angular project since 2.beta. happy find out webstorm supporting angular language service later on. cant work in project.
if create new project using angular-cli, webstorm works , supports it. cant work older project, though running @angular-packages on version 4.3.5 now.
i tried activate using "settings -> languages & frameworks -> typescript -> use typescript service", checkbox not show up.
it says in documentation need language-service installed dev-dependency , have (any?) tsconfig.json.
here tsconfig.json:
{ "compileroptions": { "moduleresolution": "node", "module": "es2015", "target": "es5", "noimplicitany": false, "sourcemap": false, "experimentaldecorators": true, "emitdecoratormetadata": true, "typeroots": [ "node_modules/@types" ], "lib": [ "es2016", "dom" ] }, "include": [ "src" ], "exclude": [ "node_modules" ] }
i guess documentation doesn't mention more on this, since works out of box of time...
Comments
Post a Comment