CodeRush XPress | Code Intelliassist Shortcut - visual-studio

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"

Related

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.

Shortcut for changing font size

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)

Is there a standard keyboard shortcut to build the current project in Visual Studio?

I know that Ctrl + Shift + B launches a solution build, but I would like a shortcut that just builds the current project. Is a custom shortcut my only option?
Edit: Looks like a custom shortcut is my only option as Shift + F6 does not work for me.
Assigning the shortcut to "Build.BuildOnlyProject" command doesn't seem to work in VS2008.
Assign the shortcut to "Build.BuildSelection". If you have a solution with several projects and files open from the various projects, whatever file you are currently editing will define the project that will be built when you use the assigned shortcut for "Build.BuildSelection".
You'll know the keyboard shortcut is working when you click the Build menu option and you see the keyboard shortcut on the menu itself.
btw - a restart/reboot is not required when assigning keyboard shortcuts.
custom shortcut depending on what keybindings you are using.....if you look in your menu it will tell you if you have a keybinding.
The other thing I have got used to, because I make use of ViEmu, is use the menu shortcuts. Which are actually quite quick to do, and are independent of bindings.
So to build your project you go Alt + B, U
You can use the shortcuts already established in the main menu that are navigated with the Alt key:
At least for VS2013:
Alt + B, B -> Build Solution
Alt + B, R -> Rebuild Solution
Alt + B, U -> Build current project
Alt + B, E -> Rebuild current project
For some reason after installing Resharper I couldn't get a global shortcut to work (tried several times!!!), but as long as what you want to do is on the main menu, there is always an Alt + "Letter1", "Letter2" combination to trigger whatever action you'd like :-)
For C# development:
F6 or Shift+Ctrl+B - Builds all the projects in the solution.
Shift+F6 - Builds the selected project and its dependencies.
Visual Studio 2015/17
ALT + B + E
ALT + B = Open Build Menu
E = Rebuild Current Project
for C# development. Tools -> Options. Select Keyboard, select additional keyboard mapping scheme to "Visual C# 2005". This mapping has F6 as standard shortcut.
VS 2012 has Shift + F6 already mapped for this. I was surprised to learn this.
For Visual Studio 2017 community, you can use Alt+b then press u to build your current project.
Details: ALT Switch to the main menu -> choose b for build -> u choose the option of build your_project_name from the drop list.
In Visual Studio 2019 this has been set to Ctrl+b
In Visual Studio 2017 and 2019, Shift + F6 works for me.
As Happy Mittal said (Alt + B + J) open a drop window that select the project build, but then i had to press enter instead the last "B" (VS 2017).
In Visual Studio 2015, Alt + B, H will build your solution and publish it.
Sometimes I have to use Visual Studio in a language different than English and the navigation using Alt and a combination of keys is different. If there is someone in the same situation, I found out that is more convenient to create a keyboard shortcut to have consistency among languages. I followed the instructions from https://evanjpalmer.wordpress.com/2013/08/20/build-selection-short-cut-for-visual-studio/ to create the keyboard shortcut:
To set this up:
Tools -> Options -> Environment -> Keyboard (Spanish: Herramientas -> Opciones -> Entorno -> Teclado)
Put the cursor in “Press Keyboard Shortcut Keys” and shift CTRL+SHIFT+B
In Show Commands Containing, type: Build.BuildSelection (Spanish: Compilar.Compilarselección)
Select Build.BuildSelection from the drop down list and hit apply
Put the cursor in “Press Keyboard Shortcut Keys” and shift CTRL+ALT+SHIFT+B
In Show Commands Containing, type: Build.BuildSolution
Select Build.BuildSolutionfrom the drop down list and hit apply
???
PROFIT!
In the Visual Studio options window, under "Keyboard", look for the "Build.BuildOnlyProject" command and you can set whatever you want.
press (Alt + B + J + B) these key combinations to build only current selected project of the solution (VS 2010).
It selects "Build" option from toolbar (Alt + B key ) , then goto "project only" (J key ) and then "Build Only XXX" project (B key).

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