[SOLVED]Open the project directory in OS lazarus / 6-IDE-CodeTools ---------------------------------------------------------------------- kinlion · 2023-03-21 02:13 I feel it will be very convenience if one can open the project directory in OS by click or hot key in Lazarus IDE. In fact, every time I install a new version of Lazarus, I do config this function as a external tool. Although there is no difficulty to config external tools, I prefer the IDE has this function embeded. Best wishes to all ---------------------------------------------------------------------- af0815 · 2023-03-21 05:59 I have a Icon on my desktop to start one of my fpc/Lazarus installations. I need no more on Linux, RasPian and Windows. And if you need such a function, Lazarus is OpenSource and you have the full code, you can write such a tool by yourself. So you have your preferred function. ---------------------------------------------------------------------- balazsszekely · 2023-03-21 06:12 Quote from: kinlion on March 21, 2023, 03:13:40 amI feel it will be very convenience if one can open the project directory in OS by click or hot key in Lazarus IDE. In fact, every time I install a new version of Lazarus, I do config this function as a external tool. Although there is no difficulty to config external tools, I prefer the IDE has this function embeded. Right click the panel in the statusbar(the one with file path). See attached image for more details. ---------------------------------------------------------------------- dbannon · 2023-03-21 11:57 Is this useful ? https://wiki.freepascal.org/IDE_tricks#Opening_a_Terminal_Windows_from _the_IDE Davo ---------------------------------------------------------------------- kinlion · 2023-03-25 04:17 Quote from: GetMem on March 21, 2023, 07:12:26 amRight click the panel in the statusbar(the one with file path). See attached image for more details. Yes, it's just what I need. I never know this function although I have used lazarus for many years. Thanks to GetMem ---------------------------------------------------------------------- kinlion · 2023-03-25 04:38 Quote from: dbannon on March 21, 2023, 12:57:48 pmIs this useful ? https://wiki.freepascal.org/IDE_tricks#Opening_a_Terminal_Windows_from _the_IDE Davo Yes, I configed external tools like the way you mentioned, replaced cmd.exe with explorer.exe. ---------------------------------------------------------------------- JuhaManninen · 2023-03-25 07:53 Quote from: GetMem on March 21, 2023, 07:12:26 amRight click the panel in the statusbar(the one with file path). See attached image for more details. Yes, that works with any editor file. There is a similar "Open Folder..." popup menu item in the "Files" node of Project inspector. It opens the current project's root directory. This may be only in the development version of Lazarus, not sure. ---------------------------------------------------------------------- dsiders · 2023-03-25 16:34 Quote from: JuhaManninen on March 25, 2023, 08:53:35 amQuote from: GetMem on March 21, 2023, 07:12:26 amRight click the panel in the statusbar(the one with file path). See attached image for more details. Yes, that works with any editor file. There is a similar "Open Folder..." popup menu item in the "Files" node of Project inspector. It opens the current project's root directory. This may be only in the development version of Lazarus, not sure. I checked 2.2.6. It's present there. With the caveat that it only opens a folder if the project has actually been saved. ---------------------------------------------------------------------- JuhaManninen · 2023-03-26 06:39 Quote from: dsiders on March 25, 2023, 05:34:54 pmI checked 2.2.6. It's present there. With the caveat that it only opens a folder if the project has actually been saved. I fixed it in 00e9146b43. Now the menu item shows only for saved projects. ---------------------------------------------------------------------- kinlion · 2023-03-30 01:41 Quote from: JuhaManninen on March 26, 2023, 08:39:15 amQuote from: dsiders on March 25, 2023, 05:34:54 pmI checked 2.2.6. It's present there. With the caveat that it only opens a folder if the project has actually been saved. I fixed it in 00e9146b43. Now the menu item shows only for saved projects. I got a new way Thanks to JuhaManninen & dsiders. ---------------------------------------------------------------------- n7800 · 2024-04-12 08:56 Quote from: JuhaManninen on March 26, 2023, 08:39:15 amI fixed it in 00e9146b43. Now the menu item shows only for saved projects. It would be convenient if a temporary project folder could be opened for unsaved projects. I often add test files and DLLs there. I created an issue and a patch: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40897.