Enchom's blog

By Enchom, 10 years ago, In English

Hello everybody,

I am going to participate in this year's IOI in Taiwan. During the competition we will be provided a laptop with a few editors and compilers, and Ubuntu. Here are some more details.

At home I use the latest version of CodeBlocks editor under Windows and I'm really used to it. A lovely feature it has is that when I simply type :

{

the editor automaticly types :

{
    //blank shifted line (comment for vizualization only)
}

However, when I tested the IOI environment in VirtualBox, I couldn't find the option to make CodeBlocks do that. When I typed "{" it simply turned it in "{}". The weird thing is that when I installed CodeBlocks on my laptop (Windows again), it automatically started doing the shifting, without any settings.

It may sound like I'm being very pretentious here, but it simply will improve my coding speed and comfort when coding, so I'd be very grateful if someone can tell me how exactly can I change the CodeBlocks' settings so it can do the auto-shifting and completion as described above.

Thank you in advance! :)

  • Vote: I like it
  • +21
  • Vote: I do not like it

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I did the exact same post a few months ago. I was really upset about that issue. Luckily some kind soul shared with me the solution.

All you need to do is download the contrib plugins. Once you do that, everything will work perfectly!

  • »
    »
    10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    So there isn't a way I can get the same effect by simply editing settings :( ?

    Because on IOI, you aren't allowed to bring any memory devices, and you don't have access to the Internet.

    • »
      »
      »
      10 years ago, # ^ |
      Rev. 3   Vote: I like it 0 Vote: I do not like it

      You can ask the organizers to install the codeblocks-contrib package (they said that the environment you downloaded isn't necessarily the final version). However, maybe this request should have been made earlier...

      Anyway, consider the fact that your typing speed will likely not increase your score :) (it's very important in ACM ICPC or Codeforces, instead)

      • »
        »
        »
        »
        10 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Being comfortable with your IDE is always important. Whether it's Codeforces, Topcoder, USACO, ACM/ICPC or IOI. If you gotta think what you're typing because the editor doesn't do what you expect it to do, you not only lose speed, but you lose concentration as well, which can end up being fatal.

        Anyway, try to ask the organizers if they can do something about it. They must do something about it if you ask me. After all, it's not like you're the only guy who likes auto-indentation.