Difference between revisions of "IDE Window: Editor Options"

From Free Pascal wiki
Jump to navigationJump to search
Line 48: Line 48:
  
 
= Completion and Hints =
 
= Completion and Hints =
 
+
<h3>Please go to [[IDE_Window:_Editor_Options_Completion_Hints|Completion and Hints]] for options regarding:</h3>
=== Auto remove empty methods ===
+
* Automatic removal of unused events
 
+
* Automatic completion of Pascal blocks (begin/end)
Published methods without code are automatically removed on save. For example: When you double click on a form the IDE creates the published method FormCreate. When this is option is enabled and the method is still empty the IDE will remove it when you save the form.
+
* Automatic completion of identifiers
 
+
* Hints in the Editor
=== Tooltip symbol Tools ===
 
 
 
When the mouse moves over an identifier in the source editor and waits a few seconds the IDE will present a hint with some informations.
 
 
 
=== Complete blocks ===
 
 
 
Complete blocks. For example, when you type ''begin'' and press return the IDE will automatically add the ''end;''.
 
This feature exists since 0.9.27.
 
 
 
=== Tooltip expression evaluation ===
 
 
 
During debugging the tooltip hint will try to evaluate the expression at the cursor.
 
 
 
=== Delay ===
 
 
 
Set here the waiting period before the hint pops up.
 
  
 
= Code folding =
 
= Code folding =
 
+
<h3>Please go to [[IDE_Window:_Editor_Options_Code_Folding|Code Folding]] for options regarding:</h3>
Define which constructs in your source can be folded. See [[IDE_Window:_Editor_Options_Code_Folding|Code Folding]]
+
* Source/Text folding
  
 
= Divider Draw Level =
 
= Divider Draw Level =

Revision as of 05:17, 30 October 2010

Deutsch (de) English (en) español (es) suomi (fi)

You can get this dialog via:

  • Menu / Environment / Editor options ...
  • Source editor / popup menu / Editor properties ...

General

Please go to Editor Options General for options regarding:

  • Undo / Redo
  • Scrolling
  • Indent and Tabs
Please also see Codetools for automatic indent of Pascal sources
  • The Caret (Text-cursor)
  • The block-selection

General / Misc

Please go to Editor Options General Misc for options regarding:

  • Showing Withespace
  • Trimming spaces
  • Copy/paste: unselected / fold
  • Search

Display

Please go to Editor Options Display for options regarding:

  • Gutter / Margin
  • Font
  • Line-spacing

Colors

Please go to Color and Highlight settings for options regarding:

  • Highlighting Pascal/Language specific elements
  • General Highlighting (Selection, Line Highlights, ...)

Markup and Matches

Please go to Markup and Matches for options regarding:

  • Highlight other occurences of the current word
  • Matching brackets
  • Extended Pascal-Keyword settings

Key Mappings

Please go to Key Mappings for options regarding:

Mouse

Please go to Mouse settings for options regarding:

  • Mouse

Completion and Hints

Please go to Completion and Hints for options regarding:

  • Automatic removal of unused events
  • Automatic completion of Pascal blocks (begin/end)
  • Automatic completion of identifiers
  • Hints in the Editor

Code folding

Please go to Code Folding for options regarding:

  • Source/Text folding

Divider Draw Level

  • Lazarus 0.9.26
This option will draw a horizontal line based on the code folding level you specified.
Example:
  • If you set this option to 1, the editor will draw a horizontal divider line in the editor after the 'end' keyword of each method. This is very handy if you want a visual cue where methods start and end.
  • If you set this option to 2, it will draw another horizontal line after the 'end' keyword of any nested begin..end block inside methods.
  • The higher you set the value the more nested begin..end blocks will be included.
  • Lazarus 0.9.28

Allows to draw a vertical line at the end of selected structures. E.g draw a line after each procedure. See Divider drawing

Multi Window

please see IDE_Window:_Editor_Options_MultiWindow