When switching projects in the file explorer, automatically close all open files.
There must be some reason this doesn't happen now. I can't see it; I'd love to know if I'm missing something.
Moderator: kfury77
dave wrote:Features:
a) Seamlessly (and now automatically/prompted/manually) save a list of open files for the currently selected project. (it will ignore open files from other projects)
b) Seamlessly (and now automatically/prompted/manually) open a previously saved list of files for the currently selected project.
c) Close all files other than those from the currently selected project. (you will be prompted for unsaved files)
d) (c) followed by (b) (in one action)
e) View, and add/delete to the list of previously saved list of files for the currently selected project.
e) View, and add/delete to the list of previously saved list of files for other previously saved projects.
pmk65 wrote:Maybe you should take a look at the plugin API?
And maybe use the Project Manager as reference and see how it closes project files..
Will Fastie wrote:I've got nothing against plug-ins and it is nice that Rapid et. al. support an extension mechanism.
pmk65 wrote:But I just made a small plugin that closes all open Documents when you switch to a Project.
pmk65 wrote:Some plugins can be extremely simple, ...
Will Fastie wrote:On the other hand, it probably would have taken me three days to figure out how to do it, especially because the API documentation is a bit dated. For example, the docs do not mention project_before_select or any other project-related signals. I would have been beating my head on the wall trying to figure out how to trigger.
pmk65 wrote:Thanks to Will Fastie, ...
Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests
Users browsing this forum: No registered users and 1 guest