简体   繁体   English

如何加快Visual Studio 2010文本编辑器的渲染速度?

[英]How can I speed up Visual Studio 2010 text editor render speed?

Visual Studio 2010 moved to using WPF for rendering the editor. Visual Studio 2010转移到使用WPF渲染编辑器。 This is leading to slowdowns while I am editing code, especially if I'm running something else that uses other video capabilities. 当我编辑代码时,这会导致速度减慢,特别是如果我正在运行其他使用其他视频功能的东西。

How can I speed this up? 我怎样才能加快速度呢? A new video card? 一个新的视频卡? New drivers? 新司机? Settings? 设置?

What technologies does WPF use to render and what video card would complement it? WPF使用什么技术来渲染以及哪些视频卡可以补充它?

WPF uses DirectX for rendering, so a new top of the line video card would certainly help you out here. WPF使用DirectX进行渲染,因此新的顶级视频卡肯定会帮助你。 Any solid ATI or Nvidia card nowadays supports the latest and greatest DirectX. 现在任何坚固的ATI或Nvidia卡都支持最新最好的DirectX。

The answer from @Charlie is absolutely spot on; 来自@Charlie的答案绝对是真实的; and I thought about saying this on a comment but then figured I should put it as an answer. 我想在评论时说这个,但后来认为我应该把它作为答案。

Under certain circumstances (certainly on my desktop at work, which uses a workstation NVidia card), which are listed in the installation issues (connected with Hyper-V in particular), VS2010 fails to enable video acceleration even if it is available. 在某些情况下(当然在我工作的桌面上,使用工作站NVidia卡),安装问题中列出了(特别是与Hyper-V连接),VS2010即使可用也无法启用视频加速。

Open up Tools->Options, and on the very first options panel you'll see a group in the middle 'Visual Experience'. 打开工具 - >选项,在第一个选项面板上,您将看到中间“视觉体验”中的一个组。 Just make sure that everything is checked in there and that it says 'Visual Studio is currently using hardware-accelerated rendering...'. 只需确保在那里检查所有内容,并确保“Visual Studio当前正在使用硬件加速渲染......”。

I don't think the hardware requirements for VS2010 are particularly heavy - but your card certainly must be DX capable. 我不认为VS2010的硬件要求特别重 - 但你的卡肯定必须支持DX。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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