IDE Window: Codetools Options/fr

From Free Pascal wiki
Jump to navigationJump to search

Deutsch (de) English (en) français (fr)

Général

CodetoolsOptions1.jpg

Additional Source search path for all projects/packages

If you are too lazy to setup packages and you do not want to share your projects/packages, then you can set here a global search path.

Jumping

  • Adjust top line due to comment in front: When jumping from method declaration to method body, the IDE tries to position the source editor, so that the top line shown in the editor is the first line of the procedure. Normally a comment in front belongs to the procedure as well. Enable this option to scroll so that the comment is shown too.
  • Center cursor line: If jumping from the method body to the declaration in the class (or interface) the IDE can center line vertically in the editor.
  • Cursor beyond EOL: When the IDE jumps to a new position it is allowed to jump to a nice position, even if this is beyond the end of the line.

Création de Code

CodetoolsOptions2.jpg

Class part insert policy

Insert new variables and method to the class declaration:

  • Alphabetically
  • Last

Method Insert policy

Where to insert new method bodies.

  • Alphabetically
  • Last
  • Class order: Use the same order as in the class declaration

Procedure insert policy

Where to insert new procedure bodies

  • Last (at end of source)
  • in front of methods
  • behind methods

Keep order of procedures

When inserting new procedure bodies, keep order of the interface.

Header comment for class

Add a header comment in front of the class. For example { TForm }

Property completion

  • Complete properties: Enable to complete incomplete property declarations.
  • Read Prefix
  • Write Prefix
  • Stored Prefix
  • Variable Prefix
  • Set property Variable

Mots

CodetoolsOptions3.jpg

Keyword policy

How to write new keywords.

Identifier policy

How to write new identifiers.

Coupure de ligne

CodetoolsOptions4.jpg

Space