2016-09-23 2 views
10

Просто установлен VS2015 и .net на моей машине, но по какой-то причине я не получаю intellisense в project.json. На моей другой машине она работает нормально. Любая идея, что здесь не так?.net core project.json intellisense не работает

enter image description here

enter image description here

Все расширения установлены:

Microsoft Visual Studio Professional 2015 
Version 14.0.25431.01 Update 3 
Microsoft .NET Framework 
Version 4.6.01586 

Installed Version: Professional 

LightSwitch for Visual Studio 2015 
Microsoft LightSwitch for Visual Studio 2015 

Visual Basic 2015 
Microsoft Visual Basic 2015 

Visual C# 2015 
Microsoft Visual C# 2015 

Visual C++ 2015 
Microsoft Visual C++ 2015 

Add New File 3.5 
The fastest and easiest way to add new files to any project - including files that start with a dot 

ASP.NET and Web Tools 2015.1 14.1.20907.0 
ASP.NET and Web Tools 2015.1 

ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0 
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563 

ASP.NET Web Frameworks and Tools 2013 5.2.40314.0 
For additional information, visit http://www.asp.net/ 

Azure App Service Tools v2.8.1 14.0.11123.0 
Azure App Service Tools v2.8.1 

Bundler & Minifier 2.1.279 
Adds support for bundling and minifying JavaScript, CSS and HTML files in any project. 

Common Azure Tools 1.8 
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools. 

File Icons 1.6 
Adds icons for files that are not recognized by Solution Explorer 

File Nesting 2.5.63 
Automatically nest files based on file name and enables developers to nest and unnest any file manually 

Image Optimizer 3.6.94 
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization. 

Image Sprites 1.4.45 
Boost your website's performance by creating image sprites to reduce the amount of HTTP requests needed. 

JavaScript Language Service 2.0 
JavaScript Language Service 

JavaScript Project System 2.0 
JavaScript Project System 

Markdown Editor 1.8.166 
A full featured Markdown editor with live preview and syntax highligting. Supports GitHub flavored Markdown. 

Microsoft .NET Core Tools (Preview 2) 14.1.20907.0 
Microsoft .NET Core Tools (Preview 2) 

Microsoft Azure Mobile Services Tools 1.4 
Microsoft Azure Mobile Services Tools 

NuGet Package Manager 3.5.0 
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/. 

Open Command Line 2.1.176 
Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files. 

Package Installer 1.8.87 
Makes it easier, faster and more convenient than ever to install Bower, npm, JSPM, TSD, Typings and NuGet packages to any project 

PreEmptive Analytics Visualizer 1.2 
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product. 

Python Tools for Visual Studio 2.2.40623.00 
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers. 

Python Tools for Visual Studio - Django Integration 2.2.40623.00 
Provides templates and integration for the Django web framework. 

Python Tools for Visual Studio - Profiling Support 2.2.40623.00 
Profiling support for Python projects. 

SQL Server Data Tools 14.0.60519.0 
Microsoft SQL Server Data Tools 

TypeScript 1.8.36.0 
TypeScript tools for Visual Studio 

Web Accessibility Checker 1.3.33 
The easiest way to perform accessibility checks on any ASP.NET web application. Fully customizable and support all the major international accessibility standards. 

Web Compiler 1.11.319 
Compiler for LESS, Sass and CoffeeScript files 

Web Essentials 2015.3 3.0.235 
Adds many useful features to Visual Studio for web developers. Requires Visual Studio 2015 

Update: Apparenlty IntelliSense работает, если я создаю проект на диске C. Однако, когда проект создается на другой логический диск, его не работает.

+0

Я уверен, что вы проверили уже, но он всплывал при нажатии кнопки 'Ctrl + space' (вместо на' .')? – Joe

+0

Спасибо. Да, я проверил это. Ничего. Плюс это должно показать автоматически в любом случае. – mishap

+0

ОК. Просто проверяя очевидное, поскольку я знаю, что есть опция VS, чтобы не показывать intellisense на '.'. Есть ли более подробная информация, которую вы можете предоставить? Съемка в темноте по-прежнему, но как насчет машины, на которой вы находитесь, и какого пакета обновления у вас есть, версии .NET, где вы получили свою копию VS2015, если у вас были какие-либо другие версии VS перед установкой этого и т. Д. И вы использовали тот же установщик на обеих машинах? – Joe

ответ

1

У меня была та же проблема. Мои проекты, подобные вашим, также не находятся на диске C. Похоже, моя проблема была в ReSharper. Я не знаю, используете ли вы ReSharper, но вот как я исправил свою проблему.

Когда я сменил ReSharper IntelliSense с Visual Studio на ReSharper, я снова получил свой IntelliSense.

enter image description here

+0

Нет, я не использую ReSharper. – mishap

+0

На самом деле для меня это было переключением с ReSharper на Visual Studio только для файлов JSON. (Версия 2016.1.2) Нет необходимости отключать ReSharper IntelliSense для всего. – robaudas