我通过Microsoft CDN安装了Bootstrap,如:
<head>
...
<link href="//ajax.aspnetcdn.com/ajax/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="//ajax.aspnetcdn.com/ajax/bootstrap/3.1.1/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
</head>
Run Code Online (Sandbox Code Playgroud)
和
<body>
...
<script src="//ajax.aspnetcdn.com/ajax/bootstrap/3.1.1/bootstrap.min.js"></script>
</body>
Run Code Online (Sandbox Code Playgroud)
使用Bootstrap一切正常,但Visual Studio并没有给我任何类型的智能感知.
例如,输入
<div class="(intellisense should open here)
Run Code Online (Sandbox Code Playgroud)
什么都没有出现.
有没有办法从CDN获得智能感知?