简体   繁体   中英

Visual Studio 2013 intellisense without method and parameters description

I have this problem in my Visual Studio 2013 Express my intellisense looks like this: 附屏幕截图

At work I use professional edition where it looks like this: 附屏幕截图2

As you can see, there is method description and info about parameters. Ofc this is only an example.

Is it limitation of express edition or I have something wrong with settings in my VS Express or I miss some components? Any ideas?

This is an option available as a customisation for C# Intellisense. However, it isn't a part of the Intellisense configuration panel, but rather the C# general configuration property.

Go to Tools > Options > Text Editor > C# > General. There, you should see Parameter information unticked. This is why you are not seeing any information when you go to enter your parameters. If you tick this, you should see them drop down once more.

在此处输入图片说明

Solution for Visual Studio 2015 Community Edition(I believe it should work also for 2013):

  1. Parameters are missing if your referenced dlls are unloaded or they are mismatched with architecture. Try to switch to x86 or x64 and make sure all references for that project are loaded.
  2. Switch .NET framework version of your project from 4.5 to any other version and from that point you should have documentation displayed while you type code. For me documentation was available for 4, 4 Client Profile, 4.5.1, 4.5.2, 4.6, 4.6.1.

How I found it? On fresh Windows 10 I installed Visual Studio 2015 Community Edition , then I rebooted and loaded my solution and still I had missing parameters information.

In my project properties I had .NET 4.5, then I started to switch it to 4.5.1, 4.5.2, 4.6, 4.6.1, 4 Client Profile. Parameters still were missing. I had DEBUG and AnyCPU and some dlls at that time were not loaded and marked as missing because they were not AnyCPU. Then I changed it to x86 or x64 - all dlls loaded properly. After that I changed .NET versions and parameters were missing only for 4.5! Parameters were present for all the rest of .NET versions: 4, 4 Client Profile, 4.5.1, 4.5.2, 4.6, 4.6.1 - can you believe? I also checked all folders where dlls of .NET framework are located and in every one of them .xml documentation is present. Why it was not loaded only for .NET 4.5 and for all the rest it worked? Hm, maybe MS have a bug in installer or in VS, who knows. Anyway I changed my project .NET to 4.5.2 and I have all documentation when I type code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM