Scottie Scottie - 1 year ago 190
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download