Advanced VC shortcut key setting skills

Advanced VC shortcut key setting skills

If a worker wants to do his job well, he must first sharpen his tools. An excellent IDE should have powerful code editing, management, retrieval and debugging functions. If developers can make full use of these functions, effectively organize their shortcut keys entry and use them proficiently, you can double your work with half the effort and greatly shorten your time to learn and familiarize yourself with third-party code.


The following is an entry for the shortcut keys in the VC2010 version.


Tools->Options
  Environment->KeyBoard (Environment->Keyboard)
------------------------------ -------------------------
Edit.GoToDefinition (location function or variable entity definition code)
Edit.GoToDeclaration (location function or variable declaration)
Edit.CompleteWord (Automatically complete function or variable enumeration)
View.NavigateBackward (return to the last cursor position)
View.NavigateForward (return to the next cursor position)
View.SolutionExplorer (position the currently opened file in the project tree Ctrl+Alt+ L General experience)
View.ClassView (Locate the currently opened file in the class view tree Ctrl+Shift+C General experience)
Edit.Find (Find Ctrl+F, the experience needs to be improved)
Edit.Replace (Replace)
Edit.FindInFiles ( Full project search. Experience needs to be improved
Edit.FindAllReferences (Find references. Experience needs to be improved)
Edit.FindPreSelected (Find the previous selected string)
Edit.FindNextSelected (Find the next selected string)
Edit.GoTo (Ctrl+G, locate Line number)
Edit.ListMembers (and display the list according to the character to the left of the cursor, complete the plug-in code Ctrl+J)
Edit.SelectCurrentWord (select the word at the cursor. Ctrl +W)
Debug.Start (start debugging, continue to execute F5 at the breakpoint)
Debug.StopDebugging (Stop debugging Shift+F5)
Debug.StepOver (F10) 
Debug.StepInto (F11))
Debug.RunToCursor (Run to the cursor, Ctrl+F10)

-------------- -----------------------------------------
TextEditor->C/C++ (Text Editor ->C/C++)
   (Display) LineNumber (Display, Line Number)

Environment->Fonts and Colors (Environment->Fonts and Colors)
   (plain text) PainText / Item Background (item background color)   

====== ================================================== ======================

If the VA plug-in is used, it also has the following shortcut keys.
(Using the VA plug-in will cause a small amount of delay in code editing. If you press the keyboard quickly, it will be a little uncomfortable)

Alt+shift+s Open the class list of the current project
(Equivalent to Eclipse's Ctrl + shift + R)

Alt+shift+o Open the file list of the current project plan
(equivalent to Eclipse's Ctrl + Shift + E, in fact, Eclipse's Ctrl + shift + R can also be implemented)

Alt+shift+ f List the reference list of the currently selected function or variable
(equivalent to Eclipse Ctrl + Shift + G)

Alt+m List all functions of the current class
(equivalent to Eclipse Ctrl + O)

Alt+o Switch header file and implementation file

Alt+g Go to function definition or implementation
(equivalent to Eclipse F3)

Eclipse find the next Ctrl+k, VA is customized to Alt + k
Eclipse find the previous Ctrl+shift+ k, VA is customized as Alt + shift + k
Alt + shift + w of Eclipse, in the project file resource list, locate the current editing file, and define the definition.

Locate the line number
Cltr + L of Eclipse, VS comes with Ctrl + G

Guess you like

Origin blog.csdn.net/RoadToTheExpert/article/details/48490375