![]() Then you should configure your JetBrains extension in Chrome. You should be able to see the autocompletion like this:ġ5. Let’s do the simplest example in Angular: Add this line between the body tags : ġ4. Add a div and write ng inside then use the Tab key. Before we can try it, we have to copy the angular.js file to our sources.ġ3. First we have to add a reference to our angular.js library. Now you have the full support of AngularJS globally for all your projects. Then in the Visibility section, select Global, then OK.ġ1. So now you should have something like this :ġ2. Click OK to save your settings. I will use Chrome for my documentation.ĥ. Open WebStorm and create a new empty project.Ħ. Right click on your project name and add a HTML file.Ĩ. Now we will add the full support of AngularJS in WebStorm ( intellisense/autocompletion).Ĭlick on File – Settings – Project Settings – JavaScript – Libraries – Add…ĩ. Click on the green +, then Attach Fileġ0. Select the angular.js file you downloaded before and click OK. Download and install the Chrome or Firefox extension for JetBrains. Here you can find the library and a useful documentation.ģ. Download the latest version of AngularJS (the UNCOMPRESSED file otherwise WebStorm will not be able to use it correctly).Ĥ. ![]() 1. Go to the JetBrains website, download and install WebStorm (a free trial is available for 30 days if you don’t have a licence).
0 Comments
Leave a Reply. |