Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resizing font in Code::Blocks

I've recently started using Code::Blocks IDE and am trying to get comfortable working in here.

Is it possible to change the font size using keyboard shortcuts, without the numeric keypad? I accidentally struck Ctrl+CapsLock and the font minimized.

Is there something similar to increase the font size?

like image 659
Anna Shajee Avatar asked Oct 28 '15 08:10

Anna Shajee


People also ask

How do I downsize a font?

Keyboard shortcutHold down the Ctrl and press the + to increase the font size or - to decrease the font size. Pressing either of these keys while continuing to hold down the control key continues to increase or decrease the font until it reaches its maximum.

What font is used in CodeBlocks?

We use monospace fonts to keep code aligned. Courier is just one of many monospace fonts.

How do you zoom in and out in code blocks?

CodeBlocks offers a very efficient editor. This editor allows you to change the size in which the opened text is displayed. If you use a mouse with a wheel, you only need to press the Ctrl key and scroll via the mouse wheel to zoom in and out of the text.


2 Answers

simple.....in codeblocks 13.12, you have to do according to the below sequence:

settings>editor>editor settings(press 'choose')>here u will get font/font style/size....and selecting your preferable size..>ok...

like image 181
shahriar sajal Avatar answered Nov 10 '22 00:11

shahriar sajal


Thank you for your question and for using code-blocks IDE.

You should be able to just push CTRL + to increase text size, if not, look below.

To increase/decrease font size in the editor, you can either:

  • hover with your mouse over the editor, push and hold CTRL and scroll mouse wheel up or down

  • use the menu -> edit -> special commands -> zoom -> in | out | reset

  • or you can install the code-blocks plugins for creating your own keyboard shortcuts, if none of the above will do by: console command: "sudo apt-get install codeblocks-contrib", restart code-blocks and in menu -> settings -> editor -> keyboard shortcuts -> edit -> special commands -> zoom -> in -> new shortcut -> ...

hope this helps and answers your question

reagards

Hewi

like image 21
hewi Avatar answered Nov 10 '22 02:11

hewi