News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Open cpp files with codeblocks

Started by omitted93, September 26, 2013, 08:33:12 PM

Previous topic - Next topic

omitted93

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?

oBFusCATed

It depends on the operation/wm you're using. Consulting its manual is the best thing you could do.
(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!]

stahta01

#2
Quote from: 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.

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.next.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.
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

Quote from: stahta01 on September 26, 2013, 10:36:41 PM
To clarify it depends on the Operation System (OS) or Window Manager (wm).
This should have been...  ::)
(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!]