Source Options

From HTML5 Builder
Jump to: navigation, search
Source settings.

From Home > Options > Editor Options > Source Options you can customize the way the Code Editor behaves for different filetypes.

  • Auto indent mode. When you press Enter, new lines will use the same indentation as the line right above them.
  • Use tab character. Insert tabs (instead of white spaces) when pressing Tab.
  • Smart tab. When you press Tab, the text cursor is moved forward to the first possible indentation level of a line above the current one.
  • Cursor through tab. Arrow keys can move the text cursor through tabulations as if they were white spaces.
  • Optimal fill. Begins every auto-indented line with the minimum amount of characters possible, using tabulations and white spaces. For example, if tabulations are 4 characters long (white spaces are always 1 character long), and a 10-character-long indentation is to be filled, it will be filled with 2 tabulations and 2 white spaces (only 4 characters).
  • Backspace unindents. When you press Backspace, the text cursor is moved back to the first possible indentation level of a line above the current one.
  • Keep trailing blanks. Prevents trailing white spaces from being truncated.
  • Show tab character. Displays a gray > at the location of any tabulation.
  • Show space character. Displays a gray · at the location of any white space character.
  • Use syntax highlight. Use different font settings (color, boldness and more) to highlight different elements of the programming language associated to the file.
  • Show line breaks. Displays a gray at the location of any white space character.
  • Highlight current line. Highlights the line where the text cursor is located.
  • Block indent. Amount of indentation to be used when indenting several lines, which is done with Ctrl+Shift+I by default.
  • Tab stops. How many characters long tabulations should be.