Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
FV/Textmode IDE
(Moderators:
FPK
,
Tomas Hajny
) »
Adding PTOP to the FP IDE
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Noting responds when send...
by
Thaddy
[
Today
at 07:46:23 am]
Un-register an LCL Compon...
by
dbannon
[
Today
at 05:19:05 am]
Столбец из CSV в CheckLis...
by
akulovz
[
Today
at 05:16:23 am]
TFPHTTPClient.Get(URL) / ...
by
dseligo
[
Today
at 05:03:08 am]
FPC Compiler Relocation B...
by
Coldzer0
[
Today
at 04:53:42 am]
AI cheetah
by
lainz
[
Today
at 03:17:28 am]
[SOLVED] Problems with ac...
by
Gercino
[
Today
at 01:04:30 am]
[SOLVED] TLabel OptimalFi...
by
Josh
[November 30, 2023, 11:43:45 pm]
Not able to add any compo...
by
andrew Bubble
[November 30, 2023, 11:41:01 pm]
Pascal script: Unable to ...
by
aducom
[November 30, 2023, 10:13:42 pm]
TProcess and lots of data...
by
marcov
[November 30, 2023, 10:12:58 pm]
Lazarus Release Candidate...
by
AlexTP
[November 30, 2023, 10:01:08 pm]
Anyone interested in test...
by
cpicanco
[November 30, 2023, 09:35:48 pm]
Titlebar custom color
by
domasz
[November 30, 2023, 09:31:14 pm]
Dynamical creation of obj...
by
peterbos
[November 30, 2023, 09:10:55 pm]
BGRABitmap - showcase -
by
circular
[November 30, 2023, 08:52:03 pm]
Better Vectorcall Support
by
Nitorami
[November 30, 2023, 08:38:46 pm]
Mediators and Indexed Pro...
by
sfeinst
[November 30, 2023, 08:14:11 pm]
Windows API and wide/unic...
by
Nadar
[November 30, 2023, 08:08:58 pm]
Out of memory on a ATtiny...
by
ccrause
[November 30, 2023, 07:16:29 pm]
What is the meaning of TF...
by
MarkMLl
[November 30, 2023, 06:32:25 pm]
[SOLVED]Bash commands and...
by
TRon
[November 30, 2023, 06:23:52 pm]
how to change color of a ...
by
Joanna
[November 30, 2023, 04:28:17 pm]
Help with barcode scannin...
by
Handoko
[November 30, 2023, 04:16:10 pm]
Best practices to use tRt...
by
Mr.Madguy
[November 30, 2023, 12:48:45 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding PTOP to the FP IDE (Read 3749 times)
CyberFilth
Jr. Member
Posts: 88
Adding PTOP to the FP IDE
«
on:
May 16, 2021, 12:11:29 pm »
Is there a way to add PTOP to the FP IDE's external tools menu so that it formats the current file?
From the command line you need to specify an input and output filename, I don't know how to specify the current file in the editor for both.
Logged
Running Windows 10 & Xubuntu 20.04 | Lazarus 2.0.12 | FPC 3.2.0
lucamar
Hero Member
Posts: 4219
Re: Adding PTOP to the FP IDE
«
Reply #1 on:
May 16, 2021, 12:56:47 pm »
$EDNAME
should do the trick.
Maybe you should read the
User's Guide
, more specifically the section on Tools's
meta-parameters
in the IDE chapter.
Logged
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!)
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.
CyberFilth
Jr. Member
Posts: 88
Re: Adding PTOP to the FP IDE
«
Reply #2 on:
May 16, 2021, 01:10:47 pm »
$EDNAME was exactly what I needed, thanks.
I did check out the user's guide before posting but was looking under the ptop section.
Thanks again.
Logged
Running Windows 10 & Xubuntu 20.04 | Lazarus 2.0.12 | FPC 3.2.0
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
FV/Textmode IDE
(Moderators:
FPK
,
Tomas Hajny
) »
Adding PTOP to the FP IDE
TinyPortal
© 2005-2018