Visual Studio Code is free and available on your favorite platform – Linux, Mac OSX, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications. ![]() Code folding means You can collapse and expand code fragments by using: • Code folding toggles (, or ). These toggles are shown in the editor to the left of the corresponding folding regions. If a region is unfolded, indicates the beginning of the region while is located at its end. For folded regions, the toggle is shown as. If you hold the Alt key and click, or, the region is collapsed or expanded recursively, i.e. Along with all its subordinate regions. • Commands of the Folding menu and associated keyboard shortcuts. Best desktop email clients for mac. The Folding menu can be accessed from the main menu bar ( Code| Folding), or as a context menu in the editor. The shortcuts are shown right in the menu. See Commands of the Folding menu and associated shortcuts. • Folded fragments themselves: click to expand the corresponding fragment. See also, Viewing folded code fragments. Folding predefined and custom regions You can fold and unfold: • Lists and dictionaries. • Code blocks, i.e. Code under the keywords class, def, while, if, etc. • Consecutive commented lines. • Predefined regions that correspond import declarations, method bodies, documentation comments, etc. The predefined regions, roughly, correspond to the ones listed under Collapse by default on the Editor| General| Code Folding page of PyCharm settings ( Ctrl+Alt+S). ![]() For the predefined regions, the folding toggles are available right away, without the need to perform any additional actions. Free avast for mac 2018. • Any selected code fragment. A custom folding region for a selection is created and removed by means of the Code| Folding| Fold Selection/ Remove Region command ( Ctrl+.). • Regions surrounded by corresponding commented folding markers (e.g. Code folding works for the keywords if/ while/ else/ for/ try/ except/ finally/ with/ Long string literals/ Long collection literals/ Sequential comments in case of at least two statements.
0 Комментарии
Оставить ответ. |
Details
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |