Shortcut for changing font size - visual-studio

Does anybody know if there is a shortcut or something similar for changing the font size in the text editor in Visual Studio 2008?
What I mean is something like Ctrl + mouse wheel like in Firefox.
Accessing the Options window and then selecting Environment > Fonts and Colors is fine if you don't have to change the font size all the time, but in my case, I would like to be able to change it depending on what I am doing (writing and reading code or just reading it).
I guess I could create two almost identical settings files and import them whenever I want, but that is even slower.

You'll probably find these shortcuts useful:
Ctrl+Shift+. to zoom in.
Ctrl+Shift+, to zoom out.
Those characters are period and comma, respectively.

Ctrl + MouseWheel on active editor.

In the Macros explorer under samples/accessibility there is an IncreaseTextEditorFontSize and a DecreaseTextEditorFontSize. Bind those to some keyboard shortcuts.

Ctrl + MouseWheel works on almost anything...not just visual studio

I am using Visual Studio 2017 , I found below can change font size

Use :
Tools in Menu -> Options -> Environment -> Fonts and Colors

In visual studio 2019 you can use,
Either:
Ctrl + Shift + . To increase
Ctrl + Shift + , To decrease
Or
Go to
Tools > Options... > Environment > Fonts and Colors

Be sure to check out the VS 2010 Beta that was just released. The new editor should have this.

Ctrl + Alt + MouseWheel will work in Visual Studio 2015.

You can chnage font size by ctrl + mousewheel.
OR
tools --> options --> environment --> font and color.
Detail with screenshot is mentonied here

This worked for me:
Ctrl + - to minimize
Ctrl + + to maximize

In visual studio code if your front is too small or too big, then you just need to zoom out or zoom in. To do that you just have to do:
For zoom in : ctrl + = (ctrl and equal both)
For zoom out: ctrl + - (ctrl and - both)

Related

Visual Studio Shortcut for showing list of tabs

I don't know if there is a better way to ask this. But, I mean to open the small down arrow which shows the list of tabs (see following) using a keyboard shortcut
The Command that you are looking for is Window.ShowEzMDIFileList, it can be accessed(at least on my machine) by Ctrl + Alt + Down Arrow

Visual Studio keyboard shortcut to display IntelliSense

What's the keyboard shortcut for Visual Studio to display the IntelliSense box if one accidentally hits ESC and wants the box come back again?
Additionally, Ctrl + K, Ctrl + I shows you Quick info (handy inside parameters)
Ctrl+Shift+Space shows you parameter information.
Ctrl + Space
or
Ctrl + J
You can also go to menu Tools → Options → Environment → Keyboard and check what is assigned to these shortcuts. The command name should be Edit.CompleteWord.
The most efficient one is Ctrl + ..
It helps to automate insertions of using directives. It works if the focus is on a new identifier, e.g. class name.
Ctrl+Space should do it.
It should be Ctrl + J.
If you have arrived at this question because IntelliSense has stopped working properly and you are hoping to force it to show you what you need, then most likely none of these solutions are going to work.
Closing and restarting Visual Studio should fix the problem.
If you want to change whether it highlights the best fitting possibility, use:
Ctrl + Alt + Space
Alt + Right Arrow and Alt + Numpad 6 (if Num Lock is disabled) are also possibilities.
In Visual Studio 2015 this shortcut opens a preview of the definition which even works through typedefs and #defines.
Ctrl + , (comma)
On Visual Studio Community 7.5.3 on Mac this works for me:
Ctrl + Space
The shortcut to bring up the IntelliSense box is called Edit.ListMembers. It defaults to:
Ctrl + J
The shortcut to automatically select the most likely option is Edit.CompleteWord. It defaults to:
Ctrl + Space

is there anyway to zoom into visual studio 2010 if you dont have a scroll on your mouse

is there any shortcut key to do this?
Ctrl + Shift + . to zoom in and Ctrl + Shift + , to zoom out.
You can get download the shortcut posters here
In my install, I find that I have to head in through Tools -> Options -> Environment -> Keyboard and map "View.ZoomIn" and "View.ZoomOut" to get this working. This could be because ReSharper has modified my keyboard shortcuts, however.

CodeRush XPress | Code Intelliassist Shortcut

I've installed coderush and wanted to refactor my code. I also tried to do some things they did in the introduction video. But the only way I get into the coderush intelliassist is the right-click context menu in the editor.
Can you help me to change the shortcut? By default the short cut should be CTRL + '
I'm using Windows 7 Pro - German + Visual Studio 08 Pro - German if this is important.
With Coderush XPress, the Refactor shortcut is NOT BOUND to a key by default!
You Have to add a shortcut for it manually (CTRL + SHIFT + ALT + O, IDE, Shortcuts, Add New)
Also a good setting is in Editor->Smart Tags -> Use DXCore smart tags, so that you know, when VS has a refactoring or help (CTRL + . ) e.g. Imports, or when Coderush has.
I think the default is CTRL + ` (backtick) but you can change it as follows...
Go to DevExpress -> Options (CTRL + SHIFT + ALT + O) Then select IDE, and then shortcuts in the left hand pane.
Click the search biutton at the top of the option window, select the "Command" tab, and look for "Refactor"

What is the shortcut to open a file within your solution in Visual Studio 2008?

What is the shortcut to open a file within your solution in Visual Studio 2008 (+ Resharper)?
Ctrl + T (ReSharper, Goto, type) will open a class file for you.
Looks like Ctrl + Shift + T opens files.
Depending on your keymap, Ctrl + Shift + N will open any file in the solution, or Ctrl + N will open any type.
If the standard toolbar is visible the following will open any file in the solution (resharper is not necessary).
Ctrl + D places you in the Find textbox. >of f will provide a dropdown with all files that start with f with path information after the filename to distinguish name collisions. Complete the filename, or arrow down to the correct one and hit enter to open it in the editor.
I attended a presentation recently where Kirk Jackson showed how to add aliases to the command window in Visual Studio. Bear with me, it gets better.
So it went like this:
Open Command Window and type
alias fo File.FileOpen
Now in your editor window hit Ctrl + / to put the focus into the Find box on the toolbar
If you use the prefix > this is command window (sneaky huh?) so type:
fo
and intellisense kicks in and shows you the names of the folders and files in the solution.
The alias is persistent between Visual Studio sessions.
Not exactly a keyboard shortcut but using this technique you can access any command in Visual Studio from the keyboard.
You should also check out Kirk's list of essential VS tips and tricks
It depends on the key mapping that you have set.
With default keymapping: Do Ctrl + T to open a type and Ctrl + Shift + T to open a file.
With IntelliJ like mapping : Do Ctrl + N to open a type and Ctrl + Shift + N to open a file.
Visit the following links for all your key mapping.
ReSharper 4 Default Keymap: Visual Studio scheme
http://www.jetbrains.com/resharper/docs/ReSharper40DefaultKeymap.pdf
ReSharper 4 Default Keymap: ReSharper 2.x / IDEA scheme
http://www.jetbrains.com/resharper/docs/ReSharper40DefaultKeymap2.pdf

Resources