Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add intellisense in Visual Studio Code for custom angularjs module?

Is there a way to add intellisense support for my custom modules/services?

I've found article on how to add intellisense for AngularJS API, but didn't find any, how to create one for modules and services which are private for my project.

I am using Visual Studio Code v 0.9.2

like image 521
mimo Avatar asked Oct 27 '15 09:10

mimo


People also ask

How do I import an existing angular project into Visual Studio Code?

Now open Visual Studio Code. Go to "File" > "Open Folder" and select "First-Angular-Project" from the "Desktop". Now in the "TERMINAL" run ng new Angular-Project-Demo. Whenever it prompts with something like "Would you like to add Angular routing? (y/N)" press "y" and hit "ENTER".


Video Answer


1 Answers

Most ways of "adding intellisense for AngularJS" in VS Code only adds intellisense for stock angular directives. Your own methods / properties inside custom services won't be added to this, which is really annoying... Visual Studio 2015 supports this natively, and there is a plugin for Visual Studio 2013 to do the same – nothing yet for VS Code, as far as I know.

like image 54
cekrem Avatar answered Oct 01 '22 07:10

cekrem