如何重置 VS 2008 中的智能感知设置?

发布于 2024-09-13 02:38:10 字数 422 浏览 2 评论 0原文

我全新安装了 VS 2008 Standard,并使用 CodeRush 安装了 DevExpress DXPerience 2008!由于某种原因,我的智能感知决定半途而废。

我有:

class Person
{
    public string FirstName { get; set; }
}

我可以输入:

Person p = new Person();
p.

... 并且智能感知不会显示 Person 的任何成员,除非我删除“.”并再次输入。然后它就会像我一直期望的那样工作。

这种情况在对象/项目/解决方案中经常发生。我敢打赌这是 VS 或 CodeRush!设置,但我想在尝试重新安装 CodeRush 之前排除 VS! (需要一段时间)。

I've got a fresh install of VS 2008 Standard and I've installed DevExpress DXPerience 2008 with CodeRush! and for some reason, my intellisense decided to half-work.

I have:

class Person
{
    public string FirstName { get; set; }
}

I can type:

Person p = new Person();
p.

... and intellisense will show none of the members for Person, UNLESS I delete the '.' and type it again. Then it'll work as I always expect it.

This happens among objects/projects/solutions consistently. I'm betting that it's a VS or CodeRush! setting but I'd like to rule out VS before I try to re-install CodeRush! (takes a while).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我的鱼塘能养鲲 2024-09-20 02:38:10

请查看 Visual Studio 中的以下设置:

  1. 工具 ->选项->文本编辑器 -> C#->一般->语句完成->自动列出成员
  2. 工具->选项->文本编辑器 -> C#->一般->语句完成->参数信息
  3. 工具->选项->文本编辑器 -> C#->一般->智能感知 ->输入字符后显示完成列表
  4. 工具 ->选项->文本编辑器 -> C#->一般->智能感知 ->按空格键提交

都激活了吗?如果没有,请这样做。

Please take a look at the following settings in your Visual Studio:

  1. Tools -> Options -> Text Editor -> C# -> General -> Statement completion -> Auto list members
  2. Tools -> Options -> Text Editor -> C# -> General -> Statement completion -> Parameter information
  3. Tools -> Options -> Text Editor -> C# -> General -> IntelliSense -> Show completion list after a character is typed
  4. Tools -> Options -> Text Editor -> C# -> General -> IntelliSense -> Committed by pressing the space bar

Are they all activated? If not, please do so.

狼性发作 2024-09-20 02:38:10

你是对的,这是 CodeRush 设置。按照以下步骤访问 IntelliSense 选项页面:

  1. 从 DevExpress 菜单中,选择“选项...”。
  2. 在左侧的树视图中,导航到此文件夹:

    兼容性

  3. 选择“IntelliSense”选项页面。
  4. 取消选中“当插入符号处存在潜在模板时抑制 IntelliSense 接受”选项。

希望这有帮助。

You're correct, it's a CodeRush setting. Follow these steps to get to the IntelliSense options page:

  1. From the DevExpress menu, select "Options...".
  2. In the tree view on the left, navigate to this folder:

    Compatibility

  3. Select the "IntelliSense" options page.
  4. Uncheck the "Suppress IntelliSense acceptance when potential templates exist at the caret" option.

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文