Attila Kovacs 629 Posted September 8, 2022 (edited) I never liked any of the Open Unit implementations including MMX so I started a new pilot project. Main goal was to get the most out of it without mouse interaction. (Sorry for the blurry images, it's the forum itself) It looks like: bold - project files italic - opened normal - file in the directory at the end is the time since the last edit Multiple targets can be defined in a file called ".unitdirs" in the project root: @Combined;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal\VCL\SearchBox;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal\VCL\Sensors @Demos;C:\Users\Jozsi\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal @MyStuff;C:\Projects\own\ClipboardWizard\.mystuff it's basically: @Caption;target1;targetN... target can be a directory or a file like .mystuff is a file, containing: C:\Projects\own\ClipboardWizard\BaseDockForm.dfm C:\Projects\own\ClipboardWizard\BaseDockForm.pas C:\Program Files (x86)\X-Files Software\X-DBGrid Component\X-DBGrid77\Help\XFiles.pdf Yes, pdf too. It can be defined (in the source code for now) which extensions are shellexecuted, the rest is opened in the IDE. With Ctrl-F12 you open this window, with further Ctrl-F12's it's cycling through ".unitdirs" (see above). With a single F12 it jumps back to the project files. There is more. As the IDE has all the classes loaded (obviously the default ones and the ones you installed before), it's easy to make a dfm preview. (no linked things like images from another datamodule though) I love fishfacts. I have many other ideas but little time. I could share this next week when I'm back in the office and anybody want's to try or enhance it. It's just a pilot project fo rme. Edited September 8, 2022 by Attila Kovacs Share this post Link to post
Der schöne Günther 316 Posted September 8, 2022 26 minutes ago, Attila Kovacs said: I never liked any of the Open Unit implementations including MXX Me neither, there really is a lot of room for improvement, even with MMX. I really like the "time since last edit". I suppose it's referring to the files on disk, not the underlying source control system? Not sure if an absolute path to the files is really helpful. Wouldn't a path, relative to the active project root, be sufficient? 🤔 Share this post Link to post
Attila Kovacs 629 Posted September 8, 2022 25 minutes ago, Der schöne Günther said: Not sure if an absolute path to the files is really helpful. Wouldn't a path, relative to the active project root, be sufficient? 🤔 Yes you are rigth, It's on my list already because absolute paths are pita. Share this post Link to post
Attila Kovacs 629 Posted September 8, 2022 (edited) 1 hour ago, Der schöne Günther said: I really like the "time since last edit". I suppose it's referring to the files on disk, not the underlying source control system? Yes, it's just the LastWriteTime to get some orientation where were we before lunch. But you could query the source control system in a background task, excellent idea! Edited September 8, 2022 by Attila Kovacs Share this post Link to post
Uwe Raabe 2057 Posted September 8, 2022 1 hour ago, Der schöne Günther said: there really is a lot of room for improvement, even with MMX. Strange. The only open feature request in MMX targeting the Open Unit dialog is to show RC files. Share this post Link to post