News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

File Reload

Started by earlgrey, September 07, 2014, 06:16:20 PM

Previous topic - Next topic

earlgrey

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 )
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

stahta01

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

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

The reload happens when the application receives an activation event so try alt-tabbing...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

earlgrey

Solution is in EditorBase, adding a "reload" item to the context menu when the wxPoint is inside the OpenFilesList plugin.

Are you interested ?
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

oBFusCATed

I doubt it will work.  ::)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

earlgrey

* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

Jenna

Calling Manager::Get()->GetEditorManager()->CheckForExternallyModifiedFiles() should do what you want.