I have a _references.js file in my scripts folder which references the following files:
/// <reference path="~/_layouts/15/MicrosoftAjax.js" />
/// <reference path=”~/_layouts/15/init.js” />
/// <reference path=”~/_layouts/15/SP.Core.js” />
/// <reference path=”~/_layouts/15/SP.Runtime.js” />
/// <reference path=”~/_layouts/15/SP.UI.Dialog.js” />
/// <reference path=”~/_layouts/15/SP.js” />
But intellisense for the SP namespace never works.
Where are those files supposed to be located? I'm not sure where ~/_layouts points to.
I've checked this location:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\
I have folders 15 and 16 in there but there are no JS files in either of their Template/Layouts folders.
I'm working on Windows 10, Visual Studio 2015 Update 3 and developing for SharePoint Online
How do I get Intellisense working?