Scottie Scottie - 8 months ago 76
CSS Question

Visual Studio intellisense for Bootstrap via CDN

I've installed Bootstrap via the Microsoft CDN like:

<link href="//" rel="stylesheet" type="text/css" />
<link href="//" rel="stylesheet" type="text/css" />


<script src="//"></script>

Everything is working fine with Bootstrap, however, Visual Studio isn't giving me any kind of intellisense for the classes.

For example, typing

<div class="(intellisense should open here)

nothing comes up.

Is there any way to get intellisense from the CDN?


You can add CDN references to intelliSence for javascript, however, css is not supported.

Visual Studio 2013 options

You can add the file to your project and it will work, you dont need to add a ref to html, just to project and it should resolve your issue.