In the classic UI, filter buttons are displayed on the toolobar in the new UI, click View Options on the window title and select the desired filters. However, you can hide specific kinds of items using filters. To synchronize symbols that you select in the Structure window with the caret position in the editor, click Navigate with Single Click on the toolbar.īy default, the Structure window displays all files and members in the file as well as related members accessible in the context of the file, such as members from base types. To synchronize the way you change caret position in the editor with the symbol highlighted in the Structure window, click Always Select Opened Element on the toolbar. If some parts of the code are surrounded by #region blocks, the regions appear in the file structure too. You can double-click any symbol to make the caret in the editor switch to the corresponding position. Press Alt+7 or choose View | Tools Windows | Structure.Ĭontents of the current document appear in a tree structure, that you can explore and navigate through the document. To list file members using a popup instead of a tool window, press Control+F12 The window is synchronized with the editor: as you switch to another editor tab, the window displays the structure of the corresponding file. With JetBrains Rider, you can navigate the structure of the current document using the Structure window, which greatly simplifies navigation in large files. Move the caret to first/last character in the current document. 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 the top/bottom line of the currently visible editor area, without scrolling. Move the caret to the declaration of the next/previous member in the current type. Move the caret to the opening/closing brace of the enclosing code block. When the caret is right before or after a brace, a bracket, or HTML/XML tag, jump to the item that matches it. ![]() ![]() Move the caret to the declaration of a type or a function from any position within its body. Move the caret to the first/last character on the current line. This behavior is configurable in the Caret Movement section on the Editor | General settings page. Note that by default, on Control+ArrowRight the caret jumps to the end of the current word. If Use CamelHumps is selected on the Editor | General | Typing Assistance page of the IDE settings Control+Alt+S, the caret will move to the next/previous capitalized word inside identifiers with CamelCase names. Move the caret to the beginning/end of the current word, and then further word by word in the same direction.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |