pcp
From Free Pascal wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
PCP is short for Primary Config Path is a Lazarus command-line option which permits to specify the directory where Lazarus configuration files are located.
For example, a Linux launcher link (.desktop file) may contain a line like:
Exec=/P/s/lazarus/lazarus --pcp="/P/s/config_lazarus"
which tells Lazarus to look for its configuration in the folder:
/P/s/config_lazarus
The --pcp option is most useful when using multiple Lazarus: it is needed to keep their configurations properly separated.
Windows
If option --pcp is not specified, the default folder in Windows Vista and up is:
C:\Users\USERNAME\AppData\Local\lazarus
Linux
For Linux (and other Unix-like systems) the default configuration folder is:
~\.lazarus
Configuration files
file | decription |
---|---|
lazarus.dci | Code Templates |
jcfsettings.cfg | Jedi Code Format settings |
codeexploreroptions.xml | Code Explorer Options |
codetoolsoptions.xml | Code Tools Options |
editormacroscript.xml | |
editoroptions.xml | Editor Options |
environmentoptions.xml | Environment Options |
fpcdefines.xml | |
helpoptions.xml | |
includelinks.xml | |
inputhistory.xml | |
packagefiles.xml | |
compilertest.pas | |
laz_indentation.pas |