User forums > General (but related to Code::Blocks)
File Association?
(1/1)
skrath:
When one .c file is open in CodeBlocks, I am not able to open another .c file from the Windows Explorer (by double clicking on it) in a 2nd tab in the CodeBlocks IDE.
If I double click on the file, the simply CodeBlocks IDE comes into focus without opening the file.
In my Environment setting, I have multi-instances checked out; open in the same instance checked in.
Can anybody suggest a solution?
ampleintend:
The issue is that Windows is not passing the file path to Code::Blocks when you double-click.
Here is a quick fix I suggest:
* Go to Windows → Settings → Default apps → Choose default apps by file type.
Select the .c extension and set Code::Blocks as the default app; ensure that the command includes " %1" to open the file.
Alternatively, you can drag and drop the file into the IDE, or use "Open with" → Code::Blocks.
* Once done, double-clicking the file should open it in a new tab.
Miguel Gimenez:
Profile spammer reported to moderator.
Navigation
[0] Message Index
Go to full version