相关疑难解决方法(0)

用于通过CDN的Bootstrap的Visual Studio intellisense

我通过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获得智能感知?

css intellisense cdn visual-studio-2012 twitter-bootstrap-3

17
推荐指数
3
解决办法
2万
查看次数