Search
⌃K

Selection

The below functions are available in [Edit] > [Selection]. You can use shortcuts for more convenience.
  • Select All (Ctrl + A (Mac: ⌘A)): Selects the entire contents of the editor. It can also be selected via the right-click menu in the editor.
  • Select Word (Ctrl + D (Mac: ⌘D)): Selects the word where the cursor is located.
  • Select Line (Ctrl + L (Mac: ⌘L)): Selects the line where the cursor is located.
  • Select Scope (Ctrl + Shift + Space (Mac: ⌘⇧␣)): Selects the minimum area where the cursor is located. In this context, an area refers to a function or parentheses. If the cursor is not located within a function or parentheses, the entire code will be selected.
  • Select Between Brackets (Ctrl + Shift + M (Mac: ⌘⇧M)): Selects within the nearest (small) brackets that contain the cursor. Similar to Select Scope, but it is not selected if there are no brackets containing the cursor.
  • Single Selection (Esc (Mac: ⎋)): Turns off multiple cursors.
  • Select Previous Lines Additionally (Alt + Shift + I (Mac: ⌥⇧↑)): Places cursors line by line up from the current cursor. This function is for multiple cursors.
  • Select Next Lines Additionally (Alt + Shift + K (Mac: ⌥⇧↓)): Places cursors line by line down from the current cursor. This function is for multiple cursors.
  • Split Selection by Line (Ctrl + Shift + L (Mac: ⌘⇧L)): Splits the selected area line by line, as if selected separately.
Last modified 3yr ago