Author Topic: Open cpp files with codeblocks  (Read 13453 times)

omitted93

  • Guest
Open cpp files with codeblocks
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Open cpp files with codeblocks
« Reply #1 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.
(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!]

Online stahta01

  • Lives here!
  • ****
  • Posts: 7789
    • My Best Post
Re: Open cpp files with codeblocks
« Reply #2 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.

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.
« Last Edit: September 26, 2013, 11:00:15 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Open cpp files with codeblocks
« Reply #3 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...  ::)
(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!]