Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, September 6, 2019 2:33 PM
I've upgraded from Visual Studio 2017 to Visual Studio 2019. One thing I have noticed is that the code editor scrolling speed seems to rather slow in 2019 compared to 2017. I am wondering if maybe this is due to settings in the environment that may need to be tweaked to help improve the scroll speed. Right now it seems rather choppy and has some lag.
Are there any recommended setting changes that I could make that could help to improve the scrolling speed when I am editing code?
All replies (9)
Tuesday, September 10, 2019 12:43 PM ✅Answered
Hi KenVarn,
Thank you for reply.
When visual studio is running, please check if visual studio or other software could take many disk, memory or power via Task Manager. If so, please try to just install visual studio 2019 in virtual machine or if possible, please re-create a virtual environment with bigger hard drives.
Also if possible, please try to disable 3D acceleration, then re-run visual studio.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Disabling 3D acceleration on the VM seems to have done the trick. Do you know why this would affect Visual Studio 2019 scrolling performance? When I had the VM's 3D acceleration option enabled, it didn't seem to affect Visual Studio 2013 scrolling, which is also installed on the same VM.
Saturday, September 7, 2019 9:19 PM
Try adding devenv.exe, msbuild.exe, and your project/solution folders to the ignore list of your antivirus software.
Sunday, September 8, 2019 5:39 AM
Check if the “Use hardware graphics…” option in Environment, General tab of Options dialog has any visible effect.
Monday, September 9, 2019 2:41 AM
Hi KenVarn,
Sorry for delay in reply.
As Viorel_ suggests, you could try to enable "Use hardware graphics acceleration if available" .
And if possible, please run VS in safe mode, or disable extensions in extension manager and close other softwares, then restart visual studio to check if it persists.
Note: safe mode -> run devenv /safemode in Run window
Look forward to your reply.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Monday, September 9, 2019 12:50 PM
Try adding devenv.exe, msbuild.exe, and your project/solution folders to the ignore list of your antivirus software.
VS 2019 is running on a VM that does not have anti-virus installed on it, other than Windows Defender. Besides, this wasn't a problem when I ran VS 2017 on the same VM.
Monday, September 9, 2019 1:09 PM
As mentioned earlier, I am running VS 2019 on a VMWare Workstation virtual machine that has 3D graphics acceleration enabled. In Visual Studio 2019, I also have the "Use hardware graphics acceleration if available" option enabled exactly as shown by Dylan. I have played around with the various Visual Experience settings and none of them seems to help with the slow scrolling. Keep in mind that I am comparing the scrolling with older versions of Visual Studio such as 2013, and 2017. They seem much snappier with the scrolling than VS 2019.
I also tried running VS 2019 in Safe Mode and the scrolling issue is still rather choppy compared to other versions of Visual Studio. One source file in-particular seems to be worse than others. It is a CS class that has a lot of static fields defined in it that are initialized using a static method call. Similar to the following:
public static UInt32 kDID_ModuleStartupCount = ENTITY_ID_CODE(0, ColoradoEntity.kE_Module, DurangoProperty.kF_StartupCount); // 65671
There are well over 580 lines defined in a similar manner in the class. Not sure if that has any relevance or not.
Tuesday, September 10, 2019 5:13 AM
Hi KenVarn,
Thank you for reply.
When visual studio is running, please check if visual studio or other software could take many disk, memory or power via Task Manager. If so, please try to just install visual studio 2019 in virtual machine or if possible, please re-create a virtual environment with bigger hard drives.
Also if possible, please try to disable 3D acceleration, then re-run visual studio.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Tuesday, September 10, 2019 5:54 AM
Hi Ken,
According to your description, you can try to change the scrolling sensitivity. l have tried it and it can change the scrolling speed as you want.
Follow these steps:
Tools-->Options-->Text Editor-->Advanced-->Scrolling Sensitivity and you can change the vertical and horizontal amounts per scroll as you want.
Hope it could help you.
Best Regards,
Perry
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Wednesday, September 11, 2019 9:53 AM
Hi Ken Varn,
I'm glad to hear that it could help you.
As far as I know, the "3D acceleration" will take up much resources about CPU and RAM. And VS2019 needs higher system requirements than VS 2013, please refer below image:
So we suggest you could re-configure a virtual machine with more processors and bigger RAM for using them together.
Hope it could help you.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]