[Lazarus] What happened to code templates?

John Landmesser jmlandmesser at gmx.de
Wed Feb 28 22:00:15 CET 2024


Am 28.02.24 um 10:10 schrieb Juha Manninen via lazarus:
>
> Renaming "lazarus_dci_file.dci" to "codetemplates.dci" should not 
> affect a file named "lazarus.dci".
> I searched in my home dir if I have "lazarus.dci". It is found in a 
> config dir for Lazarus 2.0. I don't remember creating such a file. How 
> did it get there? I guess I don't know everything about the templates 
> and their history.
>
> Juha
>
>
Wondering about filenames you are talking about:


if i start my lazarus with new --pcp

lazarus --pcp=/home/john1/.lazarus-juha

I get these new config files including lazarus.dci

> [john1 at manjaro .lazarus-juha]$ ls -lha
> insgesamt 540K
> drwxr-xr-x  4 john1 john1                  4,0K 28. Feb 21:40 .
> drwx------ 97 john1 systemd-journal-upload 4,0K 28. Feb 21:41 ..
> -rw-r--r--  1 john1 john1                   803 28. Feb 21:40 
> codeexploreroptions.xml
> -rw-r--r--  1 john1 john1                   267 28. Feb 21:40 
> debuggeroptions.xml
> -rw-r--r--  1 john1 john1                   837 28. Feb 21:39 
> editoroptions.xml
> -rw-r--r--  1 john1 john1                   12K 28. Feb 21:40 
> environmentoptions.xml
> -rw-r--r--  1 john1 john1                  466K 28. Feb 21:39 
> fpcdefines.xml
> -rw-r--r--  1 john1 john1                   115 28. Feb 21:40 
> includelinks.xml
> -rw-r--r--  1 john1 john1                   168 28. Feb 21:40 
> inputhistory.xml
> -rw-r--r--  1 john1 john1                   12K 28. Feb 21:39 
> jcfsettings.cfg
> -rw-r--r--  1 john1 john1                  6,9K 28. Feb 21:40 lazarus.dci
> -rw-r--r--  1 john1 john1                  1,2K 28. Feb 21:38 
> laz_indentation.pas
> drwxr-xr-x  6 john1 john1                  4,0K 28. Feb 21:39 
> onlinepackagemanager
> drwxr-xr-x  2 john1 john1                  4,0K 28. Feb 21:38 
> projectsessions

No codetemplates.dci ???


Info:

Lazarus 3.99 (rev main_3_99-1538-g642e3bac61) FPC 3.2.2 x86_64-linux-gtk2

Manjaro Linux XFCE

Hope these infos are usefull ?!!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240228/995d9565/attachment-0001.htm>


More information about the lazarus mailing list