2009-12-30
Opera 常用快捷键
Chrome 常用快捷键
Ctrl+N | Opens a new window. |
Ctrl+T | Opens a new tab. |
Ctrl+Shift+N | Opens a new window in incognito mode. |
Press Ctrl+O, then select file. | Opens a file from your computer in Google Chrome. |
Press Ctrl and click a link. Or click a link with your middle mouse button (or mousewheel). | Opens the link in a new tab in the background . |
Press Ctrl+Shift and click a link. Or press Shift and click a link with your middle mouse button (or mousewheel). | Opens the link in a new tab and switches to the newly opened tab. |
Press Shift and click a link. | Opens the link in a new window. |
Ctrl+Shift+T | Reopens the last tab you've closed. Google Chrome remembers the last 10 tabs you've closed. |
Drag a link to a tab. | Opens the link in the tab. |
Drag a link to a blank area on the tab strip. | Opens the link in a new tab. |
Drag a tab out of the tab strip. | Opens the tab in a new window. |
Drag a tab out of the tab strip and into an existing window. | Opens the tab in the existing window. |
Press Esc while dragging a tab. | Returns the tab to its orginal position. |
Ctrl+1 through Ctrl+8 | Switches to the tab at the specified position number on the tab strip. |
Ctrl+9 | Switches to the last tab. |
Ctrl+Tab or Ctrl+PgDown | Switches to the next tab. |
Ctrl+Shift+Tab or Ctrl+PgUp | Switches to the previous tab. |
Alt+F4 | Closes the current window. |
Ctrl+W or Ctrl+F4 | Closes the current tab or pop-up. |
Click a tab with your middle mouse button (or mousewheel). | Closes the tab you clicked. |
Right-click, or click and hold either the Back or Forward arrow in the browser toolbar. | Displays your browsing history in the tab. |
Press Backspace, or Alt and the left arrow together. | Goes to the previous page in your browsing history for the tab. |
Press Shift+Backspace, or Alt and the right arrow together. | Goes to the next page in your browsing history for the tab. |
Press Ctrl and click either the Back arrow, Forward arrow, or Go button in the toolbar. Or click either button with your middle mouse button (or mousewheel). | Opens the button destination in a new tab in the background. |
Double-click the blank area on the tab strip. | Maximizes the window. |
Alt+Home | Opens your homepage in your current window. |
Google Chrome feature shortcuts
Ctrl+B | Toggles the bookmarks bar on and off. |
Ctrl+Shift+B | Opens the Bookmark manager. |
Ctrl+H | Opens the History page. |
Ctrl+J | Opens the Downloads page. |
Shift+Esc | Opens the Task Manager. |
Shift+Alt+T | Sets the focus on the browser toolbar. Use right and left arrows on the keyboard to navigate to different buttons on the toolbar. |
Ctrl+Shift+J | Opens Developer Tools. |
Ctrl+Shift+Delete | Opens the Clear Browsing Data dialog. |
F1 | Opens the Help Center in a new tab (our favorite). |
Address bar shortcuts
Use the following shortcuts in the address bar:
Type a search term, then press Enter. | Performs a search using your default search engine. |
Type a search engine keyword, press Space, type a search term, and press Enter. | Performs a search using the search engine associated with the keyword. |
Begin typing a search engine URL, press Tab when prompted, type a search term, and press Enter. | Performs a search using the search engine associated with the URL. |
Ctrl+Enter | Adds www. and .com to your input in the address bar and open the resulting URL. |
Type a URL, then press Alt+Enter. | Opens the URL in a new tab. |
F6 or Ctrl+L or Alt+D | Highlights the URL. |
Ctrl+K or Ctrl+E | Places a '?' in the address bar. Type a search term after the question mark to perform a search using your default search engine. |
Press Ctrl and the left arrow together. | Moves your cursor to the preceding key term in the address bar |
Press Ctrl and the right arrow together. | Moves your cursor to the next key term in the address bar |
Ctrl+Backspace | Deletes the key term that precedes your cursor in the address bar |
Select an entry in the address bar drop-down menu with your keyboard arrows, then press Shift+Delete. | Deletes the entry from your browsing history, if possible. |
Click an entry in the address bar drop-down menu with your middle mouse button (or mousewheel). | Opens the entry in a new tab in the background. |
Press Page Up or Page Down when the address bar drop-down menu is visible. | Selects the first or last entry in the drop-down menu. |
Webpage shortcuts
Ctrl+P | Prints your current page. |
Ctrl+S | Saves your current page. |
F5 or Ctrl+R | Reloads your current page. |
Esc | Stops the loading of your current page. |
Ctrl+F | Opens the find bar. |
Ctrl+G or F3 | Finds the next match for your input in the find bar. |
Ctrl+Shift+G, Shift+F3, or Shift+Enter | Finds the previous match for your input in the find bar. |
Click the middle mouse button (or mousewheel). | Activates auto-scrolling. As you move your mouse, the page automatically scrolls according to the direction of the mouse. |
Ctrl+F5 or Shift+F5 | Reloads your current page, ignoring cached content. |
Press Alt and click a link. | Downloads the target of the link. |
Ctrl+U | Opens the source of your current page. |
Drag a link to bookmarks bar | Bookmarks the link. |
Ctrl+D | Bookmarks your current webpage. |
F11 | Opens your page in full-screen mode. Press F11 again to exit full-screen. |
Ctrl and +, or press Ctrl and scroll your mousewheel up. | Enlarges everything on the page. |
Ctrl and -, or press Ctrl and scroll your mousewheel down. | Makes everything on the page smaller. |
Ctrl+0 | Returns everything on the page to normal size. |
Space bar | Scrolls down the web page. |
Home | Goes to the top of the page. |
End | Goes to the bottom of the page. |
Press Shift and scroll your mousewheel. | Scrolls horizontally on the page. |
Text shortcuts
Ctrl+C | Copies highlighted content to the clipboard. |
Ctrl+V or Shift+Insert | Pastes content from the clipboard. |
Ctrl+Shift+V | Paste content from the clipboard without formatting. |
Ctrl+X or Shift+Delete | Deletes the highlighted content and copies it to the clipboard. |
Visual stuido 常用快捷键
Visual C# Development Settings Default KeyBindings
Editing
Edit.CollapseToDefinitions | CTRL + M, O | Collapses existing regions to provide a high-level view of the types and members in the source file. |
Edit.CommentSelection | CTRL + K, C or CTRL + E, C | Inserts // at the beginning of the current line or every line of the current selection. |
Edit.FormatDocument | CTRL + K, D or CTRL + E, D | Formats the current document according to the indentation and code formatting settings specified on the Formattingpane under Tools | Options | Text Editor | C#. |
Edit.FormatSelection | CTRL + K, F or CTRL + E, F | Formats the current selection according to the indentation and code formatting settings specified on the Formatting pane under Tools | Options | Text Editor | C#. |
Edit.InsertSnippet | CTRL + K, X | Displays the Code Snippet Picker. The selected code snippet will be inserted at the cursor position. |
Edit.StopOutlining | CTRL + M, P | Removes all outlining information from the whole document. |
Edit.SurroundWith | CTRL + K, S | Displays the Code Snippet Picker. The selected code snippet will be wrapped around the selected text. |
Edit.ToggleAllOutlining | CTRL + M, L | Toggles all previously collapsed outlining regions between collapsed and expanded states. |
Expand Code Snippet | [TAB] | Expand Code Snippet |
Edit.ToggleOutliningExpansion | CTRL + M, M | Toggles the currently selected collapsed region between the collapsed and expanded state. |
Edit.UncommentSelection | CTRL + K, U or CTRL + E, U | Removes the // at the beginning of the current line or every line of the current selection. |
Edit.CycleClipboardRing | CTRL + SHIFT + V | Pastes text from the Clipboard ring to the cursor location in the file. Subsequent use of the shortcut key iterates through the items in the Clipboard ring. |
Edit.Replace | CTRL + H | Displays the replace options in the Quick tab of the Find and Replace dialog box. |
Edit.ReplaceInFiles | CTRL + SHIFT + H | Displays the replace options on the In Files tab of the Find and Replace dialog box. |
View.ShowSmartTag | CTRL + . or SHIFT + ALT + F10 | Displays the available options on the smart tag menu. |
Edit.InvokeSnippetFromShortcut | TAB | Inserts the expanded code snippet from the shortcut name. |
File
File.NewProject | CTRL + SHIFT + N | Displays the New Projectdialog box. |
File.OpenProject | CTRL + SHIFT + O | Displays the Open Projectdialog box, where existing projects can be added to the solution. |
Project.AddClass | SHIFT + ALT + C | Displays the Add New Item dialog box and selects Class template as default. |
Project.AddExistingItem | SHIFT + ALT + A | Displays the Add Existing Item dialog box, where existing files can be added to the current project. |
Project.AddNewItem | CTRL + SHIFT + A | Displays the Add New Item dialog box, where a new file can be added to the current project. |
Window.ShowEzMDIFileList | CTRL + ALT + DOWN ARROW | Displays a pop-up listing of all open documents. |
Edit.OpenFile | CTRL + O | Displays the Open Filedialog box where a file can be selected to be opened. This does not add the file to the project. |
IntelliSense
Edit.CompleteWord | CTRL + SPACE or CTRL + K, W | Completes the current word in the completion list. |
Edit.ListMembers | CTRL + J or CTRL + K, L | Invokes the IntelliSense completion list. |
Edit.QuickInfo | CTRL + K, I | Displays the complete declaration for the specified identifier in your code in a Quick Info tool tip. |
Edit.ParameterInfo | CTRL + SHIFT + SPACE or CTRL K, P | Displays the name, number and type of parameters required for the specified method. |
Navigation
Edit.FindAllReferences | SHIFT + F12 or CTRL + K, R | Displays a list of all references for the symbol selected. |
Edit.GoToBrace | CTRL + ] | Moves the cursor location to the matching brace in the source file. |
Edit.GoToDefinition | F12 | Navigates to the declaration for the selected symbol in code. |
Edit.GoToNextLocation | F8 | Moves the cursor to the next item, such as a task in the Task List window or a search match in the Find Results window. Subsequent invocations will move to the next item in the list. |
Edit.IncrementalSearch | CTRL + I | Activates incremental search. If incremental search is on, but no input is passed, the previous search query is used. If search input has been found, next invocation searches for the next occurrence of the input text. |
View.ClassViewGoToSearchCombo | CTRL + K, CTRL + V | Brings focus to the Class View search box. |
View.ForwardBrowseContext | CTRL + SHIFT + 7 | Moves to the next item called in code in the current file. Uses the Go To Definition navigation stack. |
View.NavigateBackward | CTRL + MINUS SIGN (-) | Moves to the previously browsed line of code. |
View.NavigateForward | CTRL + SHIFT + MINUS SIGN (-) | Moves to the next browsed line of code. |
View.PopBrowseContext | CTRL + SHIFT + 8 | Moves to the previous item called in code in the current file. Uses the Go To Definition navigation stack. |
Edit.FindInFiles | CTRL + SHIFT + F | Displays the In Files tab of theFind and Replace dialog box. |
Edit.FindSymbol | ALT + F12 | Displays the Find Symbolpane of the Find and Replacedialog box. |
View.ViewCode | F7 | Displays the selected item inCode view of the editor. |
View.ViewDesigner | SHIFT + F7 | Switches to Design view for the current document. Available only in Source view. |
View.ViewMarkup | SHIFT + F7 | Switches to Source view for the current document. Available only in Design view. |
Window.MoveToNavigationBar | CTRL + F2 | Moves the cursor to the drop-down bar located at the top of the code editor when the editor is in Code view or Server Codeview. |
Edit.Find | CTRL + F | Displays the Quick tab of theFind and Replace dialog box. |
Edit.GoTo | CTRL + G | Displays the Go To Line dialog box. |
Edit.GoToFindCombo | CTRL + / | Puts the cursor in theFind/Command box on theStandard toolbar. |
Refactoring
Refactor.EncapsulateField | CTRL + R, E | Displays the Encapsulate Field dialog box, which allows creation of a property from an existing field and updates all references to use the new property. |
Refactor.ExtractInterface | CTRL + R, I | Displays the Extract Interfacedialog box, which allows creation of a new interface with members derived from an existing class, struct, or interface. |
Refactor.ExtractMethod | CTRL + R, M | Displays the Extract Methoddialog box, which allows creation of a new method from the selected code. |
Refactor.PromoteLocalVariabletoParameter | CTRL + R, P | Moves a variable from a local usage to a method, indexer, or constructor parameter and updates all call sites appropriately. |
Refactor.RemoveParameters | CTRL + R, V | Displays the Remove Parameters dialog box, which allows removal of parameters from methods, indexers, or delegates by changing the declaration at any locations where the member is called. |
Refactor.Rename | CTRL + R, R or F2 | Displays the Rename dialog box, which allows renaming all references for an identifier. |
Refactor.ReorderParameters | CTRL + R, O | Displays the Reorder Parameters dialog box, which allows changes to the order of the parameters for methods, indexers, and delegates. |
Window
View.ClassView | CTRL + W, C | Displays the Class Viewwindow. |
View.CodeDefinitionWindow | CTRL + W, D | Displays the Code Definitionwindow. |
View.CommandWindow | CTRL + W, A | Displays the Commandwindow, where commands can be invoked to manipulate the integrated development environment (IDE). |
View.ErrorList | CTRL + W, E | Displays the Error List window. |
View.ObjectBrowser | CTRL + W, J | Displays the Object Browser. |
View.Output | CTRL + W, O | Displays the Output window, where status messages can be viewed at run time. |
View.PropertiesWindow | CTRL + W, P | Displays the Propertieswindow, which lists the design-time properties and events for the currently selected item. |
View.SolutionExplorer | CTRL + W, S | Displays Solution Explorer, which lists the projects and files in the current solution. |
View.TaskList | CTRL + W, T | Displays the Task List window, which displays custom tasks, comments, shortcuts, warnings and error messages. |
View.Toolbox | CTRL + W, X | Displays the Toolbox, which contains controls that can be included or used with your code. |
View.ServerExplorer | CTRL + W, L | Displays Server Explorer, which lets you view and manipulate database servers, event logs, message queues, Web services, and other operating system services. |
Window.CloseToolWindow | SHIFT + ESC | Closes the current tool window. |
Data.ShowDataSources | SHIFT + ALT + D | Displays the Data Sourceswindow. |
Window.CloseDocumentWindow | CTRL + F4 | Closes the current tab. |
Window.NextDocumentWindowNav | CTRL + TAB | Displays the IDE Navigator, with the first document window selected. |
Build
Build.BuildSolution | F6 or CTRL + SHIFT + B | Builds all the projects in the solution. |
Build.BuildSelection | SHIFT + F6 | Builds the selected project and its dependencies. |
Debugging
Debug.Autos | CTRL + D, A | Displays the Autos window, which displays variables used in the current line of code and the preceding line of code. |
Debug.CallStack | CTRL + D, C | Displays the Call Stackwindow, which displays a list of all active methods or stack frames for the current thread of execution. |
Debug.Immediate | CTRL + D, I | Displays the Immediatewindow, where expressions can be evaluated. |
Debug.Locals | CTRL + D, L | Displays the Localswindow, which displays the local variables and their values for each method in the current stack frame. |
Debug.QuickWatch | CTRL + D, Q | Displays the QuickWatchdialog box that has the current value of the selected expression. |
Debug.Start | F5 | Launches the application under the debugger based off of the settings from the startup project. When in Break mode, invoking this command will run the application until the next breakpoint. |
Debug.StartWithoutDebugging | CTRL + F5 | Launches the application without invoking the debugger. |
Debug.StepInto | F11 | Executes code one statement at a time, following execution into method calls. |
Debug.StepOut | SHIFT + F11 | Executes the remaining lines of a method in which the current execution point is located. |
Debug.StepOver | F10 | Executes the next line of code, but does not follow execution through any method calls. |
Debug.StopDebugging | SHIFT + F5 | Stops running the current application under the debugger. |
Debug.ToggleBreakpoint | F9 | Sets or removes a breakpoint at the current line. |
Debug.Watch | CTRL + D, W | Displays the Watchwindow, which displays the values of selected variables or watch expressions. |
Debug.EnableBreakpoint | CTRL + F9 | Toggles the breakpoint between disabled and enabled. |
Make Datatip Transparent | [CTRL] | Causes a visible datatip to become transparent. |