Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: earlgrey on September 07, 2014, 06:16:20 pm
-
In the case of generated files within a C::B project, it takes a certain amount of time to C::B to detect that the file changed.
Is it possible to implement a "reload" option somewhere ? ( in the OpenFilesList plugin for example, or under the "projects" tab )
Regards -
( It is just a suggestion, not an order , neither a request )
-
If on Windows you might try seeing if the Plugin modpoller helps you.
Note: IIRC, You have to compile it yourself.
If not on Windows, you might see if the Plugin modpoller can be ported to your OS without a lot of work.
http://wiki.codeblocks.org/index.php?title=ModPoller_plugin (http://wiki.codeblocks.org/index.php?title=ModPoller_plugin)
Tim S.
-
The reload happens when the application receives an activation event so try alt-tabbing...
-
Solution is in EditorBase, adding a "reload" item to the context menu when the wxPoint is inside the OpenFilesList plugin.
Are you interested ?
-
I doubt it will work. ::)
-
I shall look closer.
-
Calling Manager::Get()->GetEditorManager()->CheckForExternallyModifiedFiles() should do what you want.