

Open a command line window, and run the following command to install the typings package. Install the TypeScript definition manager. During the installation, make sure Node and NPM path is added to PATH environment variable. We need to install Node.js, because we want the npm, which is part of Node.

Therefore, we need to manually tweak Visual Studio Code to have IntelliSense for Leaflet, and here are the steps: However, when it comes to Leaflet Javascript library, VS code does not provide off-the-shelf IntelliSense functionality. Visual Studio Code (VS Code) is very handy when used as an IDE for web related developments. Visual Studio Code is a popular open-source cross-platform text editor (and a light-weight IDE at the same time). Leaflet is a great light-weight Javascript library for interactive web maps. This post has already been read 1055 times!
