I just got prescription glasses and I have to zoom out each document independently. Is there way to reset text zoom to whole project?
You can increase default VS environment font size or install the Global Zoom Level extension.
i found this addon and it offers synchronized zooming http://vscommands.squaredinfinity.com/Features-Zoom
Related
I've recently (about 3 months ago) started using Visual Studio 2017 Community, v15.6.2. Questions that stump me:
1) How do I get all my windows to be tiled and remain on-screen as I move from one window to the next? At the moment I could have two or more windows in the workspace. As soon as I click on one to work in it, the others disappear. Don't know how to fix it!
2) What is that cross that appears in the center of the workspace when I am busy moving windows around. Cross seems to have arrows and made up of blocks by the looks of it.
3) How do I get the Properties Window to be vertically tabbed on the rhs side of the workspace? i.e. if I click on the Properties tab the Properties window appears, else it is not visible.
Thanks in advance.
By default only one code file is visible in VS. To see multiple code windows at once you can create several tab groups or float document windows outside the IDE. Another option is to use my Task Canvas extension - after you add code files or fragments to the Task Canvas window they are automatically tiled.
For the guide diamond and other window management options please refer to the Customize window layouts in Visual Studio documentation.
I've encountered a weird issue in which that the mouse wheel scrolling sensitivity when browsing code is slow, but however when I open an older project the mouse's scrolling speed is normal.
If I create a brand new project, scrolling speed is normal.
It should be like this:
..but is instead like this (from an older project):
I've looked around but however the only results suggest increasing the DPI on the screen, but however this can't be right since the scrolling speed differs between projects on the same computer.
How can I reset the scrolling speed of my project's code back to normal?
Turns out that it's an issue related to Windows 8, 8.1, and earlier versions of 10.
I had set the scrolling speed via PC Settings, but however (for some unknown reason) there seems to be two separate settings for the mouse scrolling speed: one for PC Settings and one for Control Panel.
This issue is simple to resolve; simply adjust the mouse's scrolling speed via Control Panel instead of Settings. Doing this also seems to change the PC Settings' value also.
This is no longer an issue with Windows 10 since the November 2015 update, with Visual Studio 2017. It is present in Visual Studio 2019, to fix this you'll want to refer to Swifty's answer.
This problem is still happening in 2020. I'm using VS 2019 Community with the latest Windows 10 update. I had to go here in the Options dialog to change the scroll speed.
Tools >> Options... >> Text Editor >> Advanced >> Scrolling sensitivity
From there, you can adjust the vertical and horizontal scrolling speeds.
I've encountered that issue, too. On my machine (a notebook), it appears to happen under the following circumstances: I open VS2017 without external monitor first. When I then plug in the external monitor and move the VS-window onto there, then the scorlling-speed is super-slow. Closing and reopening VS solves the issue in this situation. Probably, opening a new project will also reset VS appropriately, so this might be a viable explanation.
Go to the registry editor
Navigate to Computer\HKEY_CURRENT_USER\SOFTWARE\Elantech\SmartPad
Then set the scrollControll_mode value to 1.
Via Reddit
Today, I installed Visual Studio 2010 Professional on a new laptop with a fresh Windows 7 Ultimate 64-bit install. I, being quite used to the look of Visual Studio 2010, instantly spotted that something was wrong. It seems that the Visual Studio application is "zoomed in", in a way. The text is much larger (even though it says that the zoom level is 100%, and the text size is 10, which is the same as what I used before), and generally, so are the other windows like the Solution Explorer and Output console. The quality of the icons and images is also very bad.
Here are two comparison images (I wasn't allowed to post images, so some links will have to do):
This is the look that I'm used to. I see plenty of text in the windows, and the icons are fine.
http://i51.tinypic.com/2mq8dau.png
This is what greeted me when I installed VS2010 on my new laptop. The icons look stretched, and I can fit a lot less code in the window.
http://i56.tinypic.com/35k0fo4.png
The screen resolution on my old computer is 1920x1200 and the resolution on my new computer is 1920x1080. (I resized the VS window on my old computer to about 1920x1080 to show the difference).
It looks like my image host resized the images as well, but you should still be able to see the difference.
Has anyone had the same problem? I'm hoping it's just some visual settings. If anything is missing, I will be happy to provide more information.
Thanks in advance.
It seems your Font Size DPI is at 150% on the second screenshot. If you right click on the Desktop and select Personalize > Adjust Font Size (DPI)* you should be able to see what it is currently set at.
Check
that your screen is at native resolution (there can only be one, the native max)
that your OS font is
at normal size
antialiasing (i believe windows calls that cleartype or something)
the screen density is 'standard' (usually 96DPI IIRC)
I strongly suspect the latter (the DPI setting). It's under
Desktop Properies
Display Properties
Display Settings
Advanced
DPI Settings
in my Windows
If you hold down Ctrl and roll the wheel on the mouse it will zoom it in and out. You can then get the desired size that you want. I hope that solves it.
EDIT:
Also if you go to Tools->Options and then under Environment->Font and Colors you can then customize the font size for the whole application.
I didn't find any setting that could case this effect.
Did you try reseting the settings of visual studio (Tools - Import and Export Settings) or Import the settings of your working maschine.
Maybe you have configured big-icons / big-font in windows?
I've learn how to manage different DPI settings the hard way, so that at runtime my applications are properly displayed.
But there is still a big issue with Design time Visual Studio.
Say I build an application at 96 dpi and I switch my display to 120 dpi for testing purposes.
Now IF I open a form designer at 120 dpi, the form is resized according to 125%, the controls moved aso! :-(((
So I try to avoid reopening forms, but that's NOT a nice solution, isn't it?
Is there by any chance a design time setting to prevent form to resize?
Not a solution but possibly a workaround: do not test on your computer but on a VM or other computer and do not open the solution on a computer with big fonts.
And we found that we cannot use the AutoScaleMode = Dpi.Font setting. That will randomly resize forms when we open them in the designer. Dpi or None seem to work.
Although this question is already old, I want to share my workaround.
Keep the Form’s AutoScaleMode = Font. This works fine, if you control the rest correctly.
Set in your Forms Designer: Font = MS Sans; 11px. Basically, specify your Fonts in Pixel, instead of Points. So Visual Studio won't re-scale anything if the system's DPI change.
In the Forms Ctor, after InitializeComponent, re-set: Font = SystemFonts.DefaultFont. Now, at run time, Fonts will use Point-based sizes again, and you get nice high-DPI GUI.
Enable DPI-Awareness, either through a manifest or by API function SetProcessDPIAwareness
You can find the details of my (hard) learning trail on my Blog: http://www.sgrottel.de/?p=1581&lang=en
I just got VS 2010 beta 1, but the text in the text editor is thin, ie not anti aliased, smoothed or cleartyped. It's hard to read. Is there a setting to adjust it, similar to the one in the OS.
This is a known issue with the beta. See the readme. Section 2.4.2.2 "Text may appear slighly blurry".
They are working on a fix and recommend you stick with Consolas font for English, for now.
This will be fixed in Beta 2 once WPF integrates with the DirectWrite code in the latest versions of DirectX.
To workaround this, we decided to override the OS Setting and always for ClearType smoothing to be on when Consolas is the editor font. This way the user who isn't particular about fonts gets the best behaviour and if the user wants to have a non-clear type experience the will also need to switch their font which they would have to do anyways.
ClearType cannot be disabled in source code windows
Let me know if changing the font from Consolas works for you.
The Microsoft H4X0RS decided to force users to adopt ClearType when using Consolas font (scroll down until you see the heading Consolas always uses ClearType)
The way to fix this is to install the Text Sharp extension (yes, you read right, you need to install an extension to turn off BlurType -- ie to have your system-wide setting of no anti-aliasing applied)
How the people who did this got away with it I'll never know.
There is an extension that can help with this:
http://www.svprogramming.net/text-sharp/index.html
You have to both turn it off in the display options and the performance options:
Visual Studio 2010 Text Clarity: ClearType Options