Intellisense of CDN references in WebStorm

I have installed WebStorm to try it and created an application. The application is simple here  that I created in Webstorm.

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10">
    <link rel="stylesheet" href="">

    <script src=""></script>
    <script src=""></script>
        Simple Project

        html, body, #map {
        #search {
            display: block;
            position: absolute;
            z-index: 2;
            top: 20px;
            left: 74px;

        var map, geocoder;

        dojo.ready(function() {
            // create the map
            map = new esri.Map("map",{
                basemap: "gray",
                center: [-120.435, 46.159], // long, lat
                zoom: 7

            // create the geocoder
            geocoder = new esri.dijit.Geocoder({
                map: map
            }, "search");
    <div id="search"></div>
    <div id="map"></div>

1- WebStorm is warning about "Unresolved varible or type dojo". But I referenced google CDN dojo and arcgisonline api.
2- "map = new esri.Map" not getting intellisense about types or objects.

Can u help about these problems?

1 comment
Comment actions Permalink


1. known issue,
2. well, the standard dojo version doesn't include esri.Map. I was able to overcome this problem by creating the .js file from and using it as a dojo library in WebStorm

Best regards,


Please sign in to leave a comment.