IDE tools

Post bugs related to the IDE here
User avatar
Piero
Addict
Addict
Posts: 1040
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

IDE tools

Post by Piero »

Code: Select all

; If I make an IDE tool to (re)open a PB source and place the cursor on a line,
; it works only if I open other "instances" of the IDE, but often I get crashes
; when closing all of them…

; If I use a single instance, like this

; ('zshShell' is to avoid "runprogram quote problems")
zshShell("open -a '"+ IDEpath$ +"' '" + PBsrcPath$ + "' --args -l " + LineNumber)

; the (single) IDE instance opens/shows the file, but doesn't place the cursor on the line…