News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Open Curly Brace doesn't work in Mac OS X 10.9

Started by eguerr, August 03, 2014, 09:53:31 PM

Previous topic - Next topic

eguerr

Hi all,

I'm new to CodeBlocks and English is not my native language. I apologize if I am asking something already answered. I have searched with no result.

I'm running CodeBlocks v 13.12 for Mac OS X, and opened a .cpp file (i also tried with a new file). I can insert the closing curly brace , }, but the opening one, {, doesn't work.

My keyboard layout is Spanish, and I insert it with Alt+´.

I disabled Keyboard Shortcuts plugin as I have already read on the Internet, restarted CB, but no luck.

I have also seen that inserting @ (Alt+2) or # (Alt+3) works, so it's not a global problem with Alt+something. Same happens with [ and ]. I can insert the closing one (Alt++) but not the opening one (Alt+`).

I hope someone can help me, as it's impossible to code without opening braces. Thanks in advance

Enrique


eguerr

Thank you, BlueHazzard, for your quick answer!

I have just tried it, with no luck. I get into Settings->Editor, but i can't find that "Keyboard Shortcuts" section. I get this screen. Where is the correct option? I'm sorry if it is so obvious.


Jenna

"Keyboard shortcuts" belongs to the keybinder-plugin, so you can not see it, if it is disabled.
If it does not crash C::B, you can try it.

juanfal

Our situation is even worse.  Here at the University of Málaga, we have a room full of Macs (our best room, of course) and although I'd rather teach using Terminal+Editor than using distractive IDEs, for many students using a graphical IDE seems to be more cool.  Anyway, the alternative, EclipseCpp is really bad, and we have been waiting for a version of CodeBlocks (the preferred for everybody else) that worked right with OSX.  It's amazing that such a bug:  not being able to read ⌥-´, that is behind the dead-key, '´', fails and does nothing!  instead as the rest of even Eclipse IDE:  {{{{{{{{  !!!!

Such a stupid bug is being there for every version I've tried for years.  I don't understand the people behind CodeBlocks.  Is it perhaps some way of punishment?  I don't understand

Alpha

I believe the largest reason why bugs like this have prolonged unfixed periods is that none of the active developers for C::B own a Mac system.  Without any actual access, attempting to resolve these bugs results in blind guessing.

juanfal

Is there any way to recompile CodeBlocks for OS X? Where are the sources (with patches, I suppose) for OS X?

oBFusCATed

(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!]

afb

wxWidgets has problems with French and Spanish keyboard layouts (try by switching to a US layout)

The situation should be better in wxWidgets 3.0, and also there were some fixes/patches for wxScintilla

http://trac.wxwidgets.org/ticket/9663

oBFusCATed

Hm, then probably we should apply these in our version of wxscintilla, too.
Afb, can you try them?
(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!]

afb

Quote from: oBFusCATed on June 21, 2015, 03:16:36 PM
Hm, then probably we should apply these in our version of wxscintilla, too.
Afb, can you try them?

I could try the patch, but I don't have a Spanish (or French) keyboard - so I don't see the bug...
Supposedly* the situation is better with wxOSX 3.0.2, so I would like to see if it still remains first ?

* says http://trac.wxwidgets.org/ticket/15384

afb

#11
I posted build instructions for OS X 10.9/10.10 (using homebrew) in the "Development" section:
http://forums.next.codeblocks.org/index.php/topic,20366.msg138642.html#msg138642

Unfortunately building wxMac 2.8.12 requires Mac OS X 10.6, it doesn't work on later OS versions.
So for using OS X 10.9, you would either have to use wxGTK 2.8.12 or wxOSX 3.0.2.

juanfal

Aster downloaded latest 10350-trunk version, I've tried to compile it, this is what I get, after 10 min compilation:

  https://asciinema.org/a/23016


Jenna

Quote from: juanfal on July 06, 2015, 10:44:57 AM
Aster downloaded latest 10350-trunk version, I've tried to compile it, this is what I get, after 10 min compilation:

  https://asciinema.org/a/23016
Can you please copy and paste the relevant part of the log.
Posting a link to a video with shell-output is not really useful.

juanfal

Yes, but the only thing I recognize here is the final error, the rest are the many warnings, such many that scares me.

You have this last part here, the previous part is all warnings.  In fact you can copy the text of these asciinema "movies":

  https://gist.github.com/6d2baa88e31ea9f0a0c1.git