How to increase code font size in IntelliJ using a shorcut?

+2 votes
asked May 27, 2017 by Hitesh Garg (799 points)  

I know that we can change the font settings in the settings->editor->Colors & Font->font section but I am not able to find any shortcut key for this purpose.
Is it possible in IntelliJ?

1 Answer

+1 vote
answered Jul 9, 2017 by Karl Park (35 points)  
selected Aug 1, 2017 by Hitesh Garg
Best answer

Ok, so you know the basic settings for the font size.

Yes, it is possible in IntelliJ to have a shortcut for the font size of the files.
For a shortcut go to

File -> Settings -> Editor -> General

Click the General and in the right panel there will an option Change font size (Zoom) with Ctrl+Mouse Wheel under mouse section.

Enable this setting and apply.
Now you can set the font size of the currently open file by Ctrl+Mouse Wheel and it will not impact the size of other files.
If you want to increase the size for all the files at once then go through the method you have mentioned in the question only i.e. the basic settings for the font size.

Hope this will solve your issue. :)