Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg?
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
(preview only)
Search
Advanced search
Recent
How to write procedure to...
by
lucamar
[
Today
at 03:22:22 pm]
Modern UI in Lazarus
by
RazorGrass
[
Today
at 03:21:11 pm]
Fpcupdeluxe
by
DonAlfredo
[
Today
at 03:12:38 pm]
Are there any bash like i...
by
lucamar
[
Today
at 02:26:08 pm]
Problem with polish lette...
by
JuhaManninen
[
Today
at 01:11:52 pm]
IDE freezing the OS
by
Zvoni
[
Today
at 12:54:17 pm]
[SOLVED] Qword to BlockRe...
by
lucamar
[
Today
at 12:52:30 pm]
New Command Palette IDE E...
by
soerensen3
[
Today
at 12:51:39 pm]
FPC + Lazarus on Dragonfl...
by
hunghung
[
Today
at 12:50:50 pm]
Lazarus doubled all of my...
by
hunghung
[
Today
at 12:48:17 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg? (Read 438 times)
zamronypj
New Member
Posts: 42
How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg?
«
on:
June 18, 2019, 10:16:44 am »
Can I tell fp IDE to load my own existing *.cfg instead of creating its own fp.cfg file?
Logged
Fano Framework, Free Pascal web application framework
https://fanoframework.github.io
Personal Projects
https://v3.juhara.com
Github
https://github.com/zamronypj
marcov
Global Moderator
Hero Member
Posts: 7590
Re: How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg?
«
Reply #1 on:
June 18, 2019, 10:30:42 am »
fp -C <yourfile.cfg>
Logged
zamronypj
New Member
Posts: 42
Re: How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg?
«
Reply #2 on:
June 18, 2019, 12:41:23 pm »
I used -Cfilename option but it seemed only accept *.ini, not Free Pascal configuration file.
Logged
Fano Framework, Free Pascal web application framework
https://fanoframework.github.io
Personal Projects
https://v3.juhara.com
Github
https://github.com/zamronypj
marcov
Global Moderator
Hero Member
Posts: 7590
Re: How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg?
«
Reply #3 on:
June 18, 2019, 02:39:37 pm »
Ah yes, it is for the session file, not the config. I looked at the params, and doesn't seem possible.
You can maybe override a global one by making a local ~/.fp.cfg or so.
Logged
lucamar
Hero Member
Posts: 2124
Re: How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg?
«
Reply #4 on:
June 18, 2019, 11:25:14 pm »
fp looks for its config first in the directory from which it's launched; if you want it to load a custom
fp.cfg
just copy it over before launching it. For example, by launching a shell script similar to:
Code:
[Select]
!#/bin/sh
cp ~/username/templates/specialfp.cfg ./fp.cfg
fp $@
«
Last Edit: June 18, 2019, 11:28:20 pm by lucamar
»
Logged
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!)
Lazarus 2.0.2/2.0.4 - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg?