Difference between revisions of "IDE Window: Editor Options"

From Free Pascal wiki
Jump to navigationJump to search
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{IDE Window: Editor Options}}
+
<noinclude>{{IDE Window: Editor Options}}<!--- This page may be used as template in other pages ---></noinclude>
 +
[[File:IDE-options-editor.JPG|thumb|400px|IDE Options - Editor]]
  
You can get this dialog via:
+
This is part of the online help for the IDE.
*Menu / Environment / Editor options ...
 
*Source editor / popup menu / Editor properties ...
 
  
= General =
+
It describes the section: "Editor Options". You can open the described dialog in your IDE via:
<h3>Please go to [[IDE_Window:_Editor_Options_General|Editor Options General]] for options regarding:</h3>
+
*The menu: "Tools" => "Options" / Editor options ...
*Undo / Redo
+
*The source-editor pop-up menu: "Editor properties ...
*Scrolling
 
*Indent and Tabs
 
::Please also see Codetools for automatic indent of Pascal sources
 
*The Caret (Text-cursor)
 
*The block-selection
 
  
= General / Misc =
+
The available editor options are:
<h3>Please go to [[IDE_Window:_Editor_Options_General_Misc|Editor Options General Misc]] for options regarding:</h3>
+
*[[IDE Window: Editor Options General|General]]
*Showing Withespace
+
**Undo / Redo
*Trimming spaces
+
**Scrolling
*Copy/paste: unselected / fold
+
**Indent and Tabs<br />Please also see Codetools for automatic indent of Pascal sources
*Search
+
**Cursor
 
+
**Selection
= Display =
+
**[[IDE_Window: Editor Options General Misc|Misc]]
<h3>Please go to [[IDE_Window:_Editor_Options_Display|Editor Options Display]] for options regarding:</h3>
+
***Showing Whitespace
*Gutter / Margin
+
***Trimming spaces
*Font
+
***Copy/paste: unselected / fold
*Line-spacing
+
***Search
 
+
*[[IDE Window: Editor Options Display|Display]]
= Colors =
+
**Gutter / Margin
<h3>Please go to [[IDE_Window:_Editor_Options_HighlightColors|Color and Highlight settings]] for options regarding:</h3>
+
**Font
* Highlighting Pascal/Language specific elements
+
**Line-spacing
* General Highlighting (Selection, Line Highlights, ...)
+
** [[IDE_Window:_Editor_Options_HighlightColors|Colors]]
 
+
*** Highlighting Pascal/Language specific elements
= Markup and Matches =
+
*** General Highlighting (Selection, Line Highlights, ...)
<h3>Please go to [[IDE_Window:_Editor_Options_Markup|Markup and Matches]] for options regarding:</h3>
+
**[[IDE_Window:_Editor_Options_Markup|Markup and Matches]]
* Highlight other occurences of the current word
+
*** Highlight other occurrences of the current word
* Matching brackets
+
*** Matching brackets
* Extended Pascal-Keyword settings
+
*** Extended Pascal-Keyword settings
 
+
* [[IDE_Window:_Editor_User_Defined_Words|User defined markup]]
= Key Mappings =
+
* Highlight your own chosen words
<h3>Please go to [[IDE_Window:_Editor_Options_Keymap|Key Mappings]] for options regarding:</h3>
+
**[[IDE_Window:_Editor_Options_Keymap|Key Mappings]]
* Keyboard
+
*** Keyboard
* See [[Lazarus IDE Shortcuts]].
+
*** See [[Lazarus IDE Shortcuts]].
 
+
** [[IDE_Window:_Editor_Options_Mouse|Mouse settings]]
= Mouse =
+
*** Mouse
<h3>Please go to [[IDE_Window:_Editor_Options_Mouse|Mouse settings]] for options regarding:</h3>
+
*[[IDE_Window:_Editor_Options_Completion_Hints|Completion and Hints]]
* Mouse
+
** Automatic removal of unused events
 
+
** Automatic completion of Pascal blocks (begin/end)
= Completion and Hints =
+
** Automatic completion of identifiers
 
+
** Hints in the Editor
=== Auto remove empty methods ===
+
* [[IDE_Window:_Editor_Options_Code_Folding|Code Folding]]
 
+
** Source/Text folding
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.
+
* [[IDE_Window:_Divider_Drawing_Divider_Draw|Divider Drawing]]
 
+
** Drawing divider lines
=== Tooltip symbol Tools ===
+
* [[IDE_Window:_Editor_Options_MultiWindow|Pages and Windows]]
 
+
** Notebook and its tabs
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.
+
** Automatic selection of windows for code navigation
 
 
=== 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 =
 
 
 
Define which constructs in your source can be folded. See [[IDE_Window:_Editor_Options_Code_Folding|Code 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 [[IDE_Window:_Divider_Drawing|Divider drawing]]
 
 
 
= Multi Window =
 
please see [[IDE_Window:_Editor_Options_MultiWindow]]
 

Revision as of 14:47, 3 July 2015

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

IDE Options - Editor

This is part of the online help for the IDE.

It describes the section: "Editor Options". You can open the described dialog in your IDE via:

  • The menu: "Tools" => "Options" / Editor options ...
  • The source-editor pop-up menu: "Editor properties ...

The available editor options are:

  • General
    • Undo / Redo
    • Scrolling
    • Indent and Tabs
      Please also see Codetools for automatic indent of Pascal sources
    • Cursor
    • Selection
    • Misc
      • Showing Whitespace
      • Trimming spaces
      • Copy/paste: unselected / fold
      • Search
  • Display
    • Gutter / Margin
    • Font
    • Line-spacing
    • Colors
      • Highlighting Pascal/Language specific elements
      • General Highlighting (Selection, Line Highlights, ...)
    • Markup and Matches
      • Highlight other occurrences of the current word
      • Matching brackets
      • Extended Pascal-Keyword settings
  • User defined markup
  • Highlight your own chosen words
  • Completion and Hints
    • Automatic removal of unused events
    • Automatic completion of Pascal blocks (begin/end)
    • Automatic completion of identifiers
    • Hints in the Editor
  • Code Folding
    • Source/Text folding
  • Divider Drawing
    • Drawing divider lines
  • Pages and Windows
    • Notebook and its tabs
    • Automatic selection of windows for code navigation