![]() You can configure whether and how to show the folding arrows on the Editor | General | Code Folding page of the IDE settings Control+Alt+S. If you hold the Alt key and click the folding arrows, the code blocks are folded or unfolded recursively. Use code folding arrows (, , and ) in the editor gutter. ![]() or choosing Code | Folding | Fold Selection / Remove Region from the menu. You can fold and unfold predefined regions using the folding arrows on the gutter and dedicated keyboard shortcuts.Īny selected code fragment can be folded by pressing Control+. #endregion blocks, documentation comments, keywords like if, while, foreach, and so on. Predefined regions that correspond to import declarations, method bodies, types, #region. ![]() To extend the editor area, you can hide all tool windows by pressing Control+Shift+F12 or by double-clicking the current editor tab, or you can hide all IDE elements in the Zen Mode by choosing View | Appearance | Toggle Zen mode from the menu. To see the contents of a folded block, hover over the folding ellipsis. If the folded code block contains errors, the ellipses are displayed in red ( ). When necessary, folded code fragments can be unfolded (expanded).įolded code fragments are shown as shaded ellipses ( ). You can collapse (fold) types, members, and other code fragments to a single visible line, hiding the details that are unimportant at the moment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |