Code::Blocks Forums

User forums => Help => Topic started by: omitted93 on September 26, 2013, 08:33:12 pm

Title: Open cpp files with codeblocks
Post by: omitted93 on September 26, 2013, 08:33:12 pm
I want codeblocks to be the default when i try to open a .cpp or .h file but right now it open's in dev-C++ by default. How can i change this?
Title: Re: Open cpp files with codeblocks
Post by: oBFusCATed on September 26, 2013, 08:51:53 pm
It depends on the operation/wm you're using. Consulting its manual is the best thing you could do.
Title: Re: Open cpp files with codeblocks
Post by: stahta01 on September 26, 2013, 10:36:41 pm
It depends on the operation/wm you're using. Consulting its manual is the best thing you could do.

To clarify it depends on the Operation System (OS) or Window Manager (wm).

Note: I am guessing on the wm meaning.

Please re-read the rules you maybe breaking http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html).

Edit: In this case, I think you are not violating the rules because I think CB should have a way to do what you want.
Which is to do File Associations with the CB Application. I do NOT know of a way to do File Associations under CB.
And, the answer likely would vary per the OS/wm used.  

Edit2: Found a location inside CB to do it for Windows; "Settings" -> "Environment" -> "General Setting"

Tim S.
Title: Re: Open cpp files with codeblocks
Post by: oBFusCATed on September 26, 2013, 11:45:01 pm
To clarify it depends on the Operation System (OS) or Window Manager (wm).
This should have been...  ::)