The shortcut key is now shown as assigned to the macro. (For instance, you might press Shift+Alt+B since your macro will make the selected text blue.) Click the Assign button. Press the shortcut key you want used to invoke the macro.
![]() ![]() Shortcut For Highlighting In Word Code From AFor more information, see Structural navigation with Tab and Shift+Tab. The command works in the reverse order (from the outermost containing block to the word at caret).Move the selection to the next/previous logical code element. For example, you can move the selection to a desired position, clone the selected piece of code, remove the element together with related whitespaces and utility characters or wrap the selection with code from a template.Shrink the selection after your extended it with Extend Selection. Select textExtend the selection from the current caret position to one character on the left/right.Move Caret to Previous Word with SelectionMake a selection from the current caret position to the beginning/end of the current word, and then extend the selection word by word in the same direction.Make a selection from the current caret position to the beginning/end of the current line.Move Caret to Code Block Start with SelectionMove Caret to Code Block End with SelectionMake a selection from the current caret position to the opening/closing brace of the enclosing code block.Select the entire declaration of the containing member, type, or namespace.Make a selection from the current caret position to the same or the nearest column in the next/previous line, and then extend the selection in the same way in the same direction.Note that if the column selection mode is enabled, these shortcuts will add new carets instead of extending selection.Make a selection from the current caret position to to the top/bottom of the currently visible editor area, without scrolling.Select the number of lines that corresponds to the editor height, up/down from the current caret position and scroll the document accordingly, and then extend the selection to the same number of lines in the same direction.Make a selection from the current caret position to to the beginning/end of the current document.Select the word at the caret and then extend the selection to containing logical blocks of code (for example, an expression, a conditional block, a method body, a class, and so on).This command works well with other JetBrains Rider features. This behavior is configurable in the Caret Movement section on the Editor | General settings page.Move the caret to the first/last character on the current line.Move the caret to the declaration of a type or a function from any position within its body.When the caret is right before or after a brace or a bracket, jump to the brace or bracket that matches it.Move the caret to the opening/closing brace of the enclosing code block.Move the caret to the declaration of the next/previous member in the current type.Move the caret to the top/bottom line of the currently visible editor area, without scrolling.Move the caret up/down to the current height of the editor area and scroll the document accordingly, and then further with the same step in the same direction.Move the caret to first/last character in the current document.Apart from basic caret movement commands described above, there are many other ways to navigate the current context.
0 Comments
Leave a Reply. |
Details
AuthorNelly ArchivesCategories |