Hello,
almost every serious IDE offers the possibility to right-click on a tab to open the location of the corresponding file in the file manager.
It would be really very nice if PureBasic could do that too. The implementation would not be very complicated in my opinion.
Thanks in advance & Greetings ... Peter
IDE: Right click on tab -> Open Containing Folder
Re: IDE: Right click on tab -> Open Containing Folder
yeah very usefull
i use the following "trick" for years
create a bat file with command-> @start %1
then go to tools->configure tools select this batch as "the tool" and %PATH as the argument
it will do the job
i use the following "trick" for years
create a bat file with command-> @start %1
then go to tools->configure tools select this batch as "the tool" and %PATH as the argument
it will do the job
Christos
Re: IDE: Right click on tab -> Open Containing Folder
We PureBasic programmers know how to help ourselves. This is my "trick":plouf wrote:i use the following "trick" for years
But after 16 years I would like to have it natively as right click on a tab.
Hygge
Re: IDE: Right click on tab -> Open Containing Folder
It's on my To-Do list for the open source IDE
Re: IDE: Right click on tab -> Open Containing Folder
Sounds good to me. I'm looking forward to it.kenmo wrote:It's on my To-Do list for the open source IDE
Thanks in advance & Greetings ... Peter
Hygge
Re: IDE: Right click on tab -> Open Containing Folder
I thought I had an implementation for both Windows and Mac, but I just found this procedure and it's only Windows. Maybe I have Mac elsewhere.
There should be Mac and Linux versions of this on the forum, most likely!
There should be Mac and Linux versions of this on the forum, most likely!
Code: Select all
Procedure.i ShowInFolder(File.s)
; Folders also accepted
If (File)
CompilerIf (#PB_Compiler_OS = #PB_OS_Windows)
ProcedureReturn (Bool(RunProgram("explorer.exe", "/select," + #DQUOTE$ + File + #DQUOTE$, "")))
CompilerElseIf (#PB_Compiler_OS = #PB_OS_MacOS)
;
CompilerElseIf (#PB_Compiler_OS = #PB_OS_Linux)
;
CompilerEndIf
EndIf
ProcedureReturn (#False)
EndProcedure