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
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
Difference in ParamStr(0)...
by
carl_caulkett
[
Today
at 10:57:09 pm]
New Big Integer library i...
by
srvaldez
[
Today
at 10:52:18 pm]
Created EXE w/Linux Laz I...
by
MarkMLl
[
Today
at 10:33:57 pm]
sdl2 & win10 64bits probl...
by
DrakkTheSeafarer
[
Today
at 10:31:02 pm]
Common File Dialogs Have ...
by
rvk
[
Today
at 10:16:41 pm]
ESS-Model again
by
NobleStar
[
Today
at 09:55:50 pm]
AY_FLY Library
by
Gigatron
[
Today
at 09:54:57 pm]
Features - as started in ...
by
Martin_fr
[
Today
at 09:49:30 pm]
AVRPascal – free code edi...
by
ackarwow
[
Today
at 09:44:57 pm]
Divie by Zero
by
PascalDragon
[
Today
at 09:21:25 pm]
[Solved ]Binary String to...
by
marcov
[
Today
at 09:12:52 pm]
Inline assembly issue
by
Aik_T
[
Today
at 08:55:11 pm]
Weird behavior opening a ...
by
HotShoe
[
Today
at 07:30:32 pm]
LazCAD – First Release!
by
maurog
[
Today
at 07:28:06 pm]
Does a procedure in a pro...
by
Warfley
[
Today
at 07:09:38 pm]
/lib/arm-linux-gnueabihf/...
by
Fred vS
[
Today
at 06:49:00 pm]
[SOLVED] Show progress on...
by
cdbc
[
Today
at 06:47:05 pm]
Building a packet from sc...
by
MarkMLl
[
Today
at 06:43:33 pm]
CREATE_NEW_CONSOLE for Li...
by
msintle
[
Today
at 06:12:52 pm]
[SOLVED] Tprocess freeze
by
Thaddy
[
Today
at 04:31:25 pm]
SetFilePointerEx function...
by
Thaddy
[
Today
at 04:02:48 pm]
GR32 installation
by
wp
[
Today
at 03:29:24 pm]
[solved]how to use debug ...
by
Packs
[
Today
at 02:28:35 pm]
Edit a Record
by
Weitentaaal
[
Today
at 01:16:14 pm]
a small window appears
by
TRon
[
Today
at 01:06:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding PTOP to the FP IDE (Read 4781 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