IDE Window: Project Options/fr

From Free Pascal wiki
Jump to navigationJump to search

Deutsch (de) English (en) suomi (fi) français (fr) 日本語 (ja) русский (ru)

Application

Optionduprojet1.png

Titre

Le même que le paramétrage ci-dessous :

 Application.Title:='some text';

Le titre est montré différemment sur les diverses plate-formes .

Utilisez une application empaqueté pour l'exécution et le débogage (seulement darwin)

En cochant cette option, L'IDE exécute ou débogue l'application empaqueté au lieu de l'exécutable lié. Sur la façon créer une application empaqueté et davantage d'information voir Créer les fichiers ressource Apple.

Utiliser un fichier manifest pour autoriser les thèmes (windows seulement)

Fichier de destination

Choisissez ici le nom de fichier de l'exécutable généré. Si le chemin d'accès au fichier est relatif, il sera développé avec le répertoire du projet (fichier .lpi).

Fiches

Optionduprojet2.png

Vous pouvez créer des fiches dès le début du projet . C'est identique que d'ajouter

 Application.CreateForm(FormX,TFormX); 

dans les lignes de code.

Note: Les fiches sont automatiquement créées,pas automatiquement montrées. Elles sont montrés si leur propriété « visible » est fixée à true. Par exemple, la variable form1 est paramétrée, alors vous pouvez écrire 'Form1.Caption:='Some text';'. Pour montrer une telle fiche ajouter une ligne 'Form1.Show;' ou 'Form1.ShowModal;'.

Divers

Optionduprojet3.png

Main unit is Pascal Source

The main source is the root unit of a project. Typically this is the .lpr file. Set to true, if the main source is a pascal source.

Main Unit has Uses Section containing all Units of project

If this is enabled, the IDE will update the uses section whenever a unit is added or removed from the project.

Main Unit has Application.CreateForm statements

If this is enabled the IDE will add/remove Application.CreateForm(FormX, TFormX); statements for forms. If it is disabled, it will ignore these statements (no delete, no add, no change).

Main Unit has Application.Title statement

If this is enabled the IDE will add/remove Application.Title:='Some Text' statements. If the Title contains a value it will add a line, if the Title is empty it will remove it. If the Title changes it will add/remove/change the statement. If it is disabled, it will ignore these statements (no delete, no add, no change).

Project is runnable

Project can be runned in the debugger.

Always build (even if nothing changed)

If disabled, the IDE checks before running for changes and if nothing changed will skip the compile step. Lazarus checks the compiler parameters, the compiler executable (filedate and filename) as listed in the projectname.compiled file and it checks the file dates of files listed in the project inspector. It does not check the fpc.cfg and not all the files in the project directories (only those listed in the project inspector) and it does not check all used units. So it will ignore changes in used units not listed in the project inspector, even if it is used by the project and opened in the source editor.

LazDoc

Optionduprojet4.png

Session

Optionduprojet5.png

Save editor info for closed files

The IDE saves the editor settings (caret position, top line, page index, bookmarks, jump history) even for closed files and will restore it, when the file is opened again. Default: enabled.

Save editor info only for project files

The IDE saves various settings for each file, like editor settings, run file settings, resource names. Normally the IDE will save this information together with the project sesssion information (.lpi or .lps file). Enable this to not store such values on disk. Default: true.

Save session information in

Each project has a session. A session contains all meta information about open files in the source editor, the bookmarks, jump history and run file information. You can setup, where to store this information for the current project:

  • Save in .lpi file - the file will change often.
  • Save the .lps file in the project directory - useful if the .lpi file is under version control (e.g. cvs, svn).
  • Save in IDE config directory - useful if the project directory is write only
  • Do not save any session info - useful for the paranoids.

Information sur la version

Optionduprojet6.png

i18n

Optionduprojet7.png