You are here: PSPad forum > English discussion forum > PSPad + golang

PSPad + golang

#1 PSPad + golang

Posted by: AskMe | Date: 2023-02-18 14:31 | IP: IP Logged

I started learning Go (aka golang),
and use LiteIDE to write programs, but that editor is not as good for me as PSPad,
but in PSPad there is no such programming language as Go.
Can we hope to replenish PSPad with a new language?

Options: Reply | Quote | Up ^


#2 Re: PSPad + golang

Posted by: pspad | Date: 2023-02-18 14:36 | IP: IP Logged

Hello

Google Go is supported as user definition. Open menu Settings / Highlighter settings
Scroll down for any free position for user highlighter and on the second tab select Google go. Confirm it and PSPad knows Go.

Options: Reply | Quote | Up ^


#3 Re: PSPad + golang

Posted by: AskMe | Date: 2023-02-18 15:41 | IP: IP Logged

Yes, PSPad knows Go! the backlight is on!
But, Settings -> Highlighters Settings:

"C:\Program Files\Go\bin\go.exe build" "%File%"
and press F9, but the program does not start:
(c:/Program Files/Go/bin/go.exe build hello.go)

and there is no assembly either:
(c:/Program Files/Go/bin/go.exe run hello.go)

It seems that I did not do everything correctly to start the program?

Options: Reply | Quote | Up ^


#4 Re: PSPad + golang

Posted by: AskMe | Date: 2023-02-18 16:27 | IP: IP Logged

Everything worked!
It should have been written like this:

"c:\Program Files\Go\bin\go.exe" "run" "%File%"

Thank you very much for the help!
PSPad great editor!

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR