How to set default font size in codeblocks? - codeblocks

I just started using code::blocks editor and found that its default font size is smaller to me.Whenever I open it I have to manually resize the font by settings -> editor -> choose. What is the way that I make my chosen font size default?
Please don't mark it duplicate or spam as I've checked everywhere to set as default font size but can't find an answer.

There is no shortcut by default, but a menu-entry (a little bit hidden).
GOTO:-
"Edit -> Special Commands -> Zoom -> Reset"
Also, you can assign "any_shortcut" to the menu-entry on the system (using Keybinder-plugin, if you want to).
Hope it helped :)

Related

Changing CLion's background color

I'd like to change the general background color of CLion (that is, outside of where you write code), but I have been unable to find a solution neither in the IDE itself nor online.
However, changing these colors should be possible, as switching the color theme does change them.
Here is an image of what I mean, I've marked the respective areas I would like to change the color of with a bright pink circled x:
Any help on where I could find these settings would be much appreciated.
EDIT: I already know where to change Fonts, text colors and the like, but I am looking specifically for the marked areas, changes for which do not appear under any of the Color Scheme Options.
You cannot customize the colors of the main interface except for choosing the Default and Darcula themes in Appearance and Behavior - Appearance. What your and the other answer's screenshot shows are the EDITOR color scheme settings.
You can set a background image for the whole IDE in general in that settings tab, though. Make it completely opaque, the color you like, and that might do it.
To configure colors and fonts
Press Ctrl+Alt+S or choose File | Settings (for Windows and Linux) or CLion | Preferences (for macOS) from the main menu, and then go to Editor | Font.
Select the desired scheme from the Scheme name drop-down list.
Under the Color Scheme node, define the font families used in the editor and in the console. When you open the Font page, or Console Fonts under the Color Scheme node, CLion displays the Editor Font area where you can configure the primary and secondary fonts, their size and line spacing.
Under the Color Scheme node, open the corresponding pages to configure specific color preferences for the supported languages and CLion components.
To navigate to the relevant Colors & Fonts settings for the symbol at the caret
Call Help | Find Action from the main menu (or press Ctrl+Shift+A) and choose Jump to Colors and Fonts:
Explore the relevant section of the Colors & Fonts settings for the symbol under the caret:
If you want to know more about configurations : Configuring Colors and Fonts

How I can increase the font size of the watches in debug mode in codeblocks?

CodeBlocks watch font size is so small by default.I want to increase it for a better view.
How i can do that ??
As far as I know, you can not change the watches window text font.
But you can change the font and its size for the watch under (mouse) cursor.
Go to Menu -> Settings -> Debugger
Find "Value Tooltip Font" while "Common" option (at left, up) is active.
Press "Choose" and the select your desired font.

Current line text font size gets increased while typing in Xcode

While I am typing on a specific line in workspace, the text present in the particular line's font is getting increased ! And it gets to regular size as soon as I stop typing.
I also upgraded to XCode 8.2 still the same issue occurs.
FYI:
I have also tried the following code to reset the XCode default settings, but still no use.
defaults delete com.apple.dt.Xcode
Solution:
This happens when you change font size for one particular element but the other editor's elements are using the previous/default font size.
If you want to change the font size either press cmd + or in preferences -> Fonts and Colors choose your theme and in the right pane select all the elements (press cmd a) and then change the font size.
See this SO answer
I had a similar problem but I am not sure is exactly the same.
Did you try to change this settings?
Xcode preferences > Fonts & Colors Your chosen theme will have a
"current line" option just under the font. Can't remember exactly but
I think you can find something there.

Increase error font size in XCode

Is it possible to make these tiny messages larger? I didn't find it preferences.
It is indeed: head over to Xcode - Preferences and find the Fonts and Colors section. Switch to the Console Tab and select an option you want to change (typically Executable Console Output and Debugger Console Output appear in the debugger).
Now click the tiny little T icon at the bottom and change the font to something more palatable. The default font is Menlo 11.
Alternatively you can switch to either of the Presentation presets, which will increase the font size for the debugger and your code font (good for screencasts).
It appears that the font size of the tiny red error messages is governed by the space available: if you make the default font size larger (or the size of any of the elements on that line), the error message will expand to fit.
An alternative is to show the issue navigator on the left, which has larger type, especially if you fiddle around in the preferences and allow more than 3 lines per entry, or whatever the default setting is.

Can I quickly dial up font sizes for the VS IDE without a mouse?

Maybe this isn't a "programming question" per se, but it relates to the coding process:
One of the really neat features I like about the WPF-ized VS IDE is being able to hit Ctrl (I think it is) and thumb the mouse wheel to quickly change font size in the code editor.
For work (desktop PC) that works great, but at home, on my laptop, I can't figure out how to accomplish it (other than going into Properties or whatever and changing font size there, which is obviously way less "handy" (no pun intended)).
Is there a quick way to change edit font size without resorting to the dialog accessed via the menu?
You can set the shortcut in the Tools -> Options -> Environment -> Keyboard shortcuts for View.ZoomIn and View.ZoomOut. I think they are by default: CTRL + Shift + Comma for zoom out and CTRL + Shift + Period for zoom in .
http://weblogs.asp.net/jgalloway/archive/2010/04/15/visual-studio-2010-zooming-keyboard-commands-global-zoom.aspx
Tools -> Options -> Environment -> Format is the place where you can change as per your need
If you don't have a scroll wheel, you'll have to create your own macro to do this. Check out the first answer in this post:
Shortcut for changing font size in Visual Studio

Resources