本文介绍了Intellisense不显示评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在VisualStudio2010中键入类似 DataSet1 的内容,则会得到所有可用方法和属性(Intellisense)的列表.这很好.但是,如果我在此列表中选择方法或属性,则不会获得有关if的描述.

If I type something in VisualStudio2010 like DataSet1. I get a list of all available Methods and Properties (Intellisense). This works fine. But if I select a method or property in this list I don't get the description of if.

例如,如果我有类似的内容:

For Example if I have something like:

public class Dummy
{
    /// <summary>
    /// This is a test-method
    /// </summary>
    public string Do { get; set; }
}

用法是:

Dummy dummy = new Dummy();
dummy.Do = "dummy";

在我输入 dummy.Do 的那一刻,我想让Property-comment显示在智能感知列表中.通常,这是通过工具提示显示的.

At the moment when I type dummy.Do I want to have the Property-comment to be displayed in the list of intellisense. Normally this is shown by a tooltip.

如何打开此行为?

推荐答案

在工具">选项">文本编辑器">"C#"中查找.确保已检查参数信息.

Look in Tools > Options > Text Editor > C#. Make sure Parameter information is checked.

这篇关于Intellisense不显示评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 19:07