BBEdit 9/10 How to Indent-Unindent a Block or Selection of Code

October 19th, 2011 by Regaz
  1. If you have a non-US Keyboard Layout your need first to Edit your Keystrokes Shortcuts:
    • Set BBEdit Shortcuts:

      Preferences > Menus > Text

      OR

      BBEdit > Preferences > Menus & Shortcuts

      You will need to Find an Unused Shortcut Keystroke.

    • You can give as New Keystrokes Cmd plus the Substitutes in your Layout of the “]” and the “]” Keys…
      So to Indent your Selected Block of Code you simply Set as Shortcuts:
      Cmd+<keyofyourchoices1>

      Instead to Unindent your Selected Block:

      Cmd+<keyofyourchoices2>

      For “KeyOfYourChoices1″ you can Take for example Just the Substitutes in your Layout of the “]” and “]” Keys…

    • You can change also the Shortcuts for Insert Space and Delete Space.
      After to Insert a Space you type:
      Cmd+<keyofyourchoices3>

      Instead to Delete a Space:

      Cmd+<keyofyourchoices4>
(Visited 9 times, 1 visits today)

Tags:


Comments are disabled