User forums > Using Code::Blocks
How to auto open files with an external program?
TerryP:
When I checked out the trunk on my laptop, I submitted two patches, one for a missing #include in ConsoleRunner and another one with the necessary changes for this opening behaviour.
Whether or not the second patch will be accepted is beyond my ability to foresee - the source code seems to indicate that either support for external editors was an after thought or that the developers must really love the internal editor... if it's accepted, it'll make my life easier anyway. I also experimented with changes to make Code::Blocks respect those same file associations when handling a failed project build, e.g. auto opening the MIME handler for file.xyz after a build error or when clicking an entry in the build messages tab, instead of the built in editor. Doing that is like changing one or two functions in compilergcc, but it feels more like trying to fight C::Bs design then improving it, so I've skipped making patches for that. No sense pushing my luck, lol.
Code::Blocks has a few rough corners here and there, but I really do like it.
Navigation
[0] Message Index
[*] Previous page
Go to full version