2

I've been trying so hard to get intellisense work for angular in VS Code and found a many solutions which are deprecated. I'm using the latest version (1.9) of VS code. I've already installed typings and typings for angular in my work folder and also have the "Typings" folder in it but still couldn't get the intellisense to work. Any solutions??

enter image description here

1
  • Have you tried restarting vscode? If so, try setting up a tsconfig.json file, and add an include to the index.d.ts. Commented Feb 12, 2017 at 20:18

2 Answers 2

0

Create a jsconfig.json file with

{
    "compilerOptions": {
        "target": "es6"
    }
}

in your angular root directory and intellisense will work. More information on: https://code.visualstudio.com/docs/languages/jsconfig

Sign up to request clarification or add additional context in comments.

1 Comment

@Nizdo Tried it, ain't working..
0

I followed http://www.bardev.com/2016/06/21/using-visual-studio-code-ceate-angularjs-applications/ article on the version (1.9) but I couldn't get it to work and I just updated to version (1.13.1) and followed the same process again and it's working. Didn't know why it didn't worked or it worked in the intermediate releases (1.10 - 1.13) but it's working in the latest release. Angular Intellisense is working well

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.