Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase / Decrease code font size keyboard shortcut

I know how to change the setting : https://stackoverflow.com/a/11129039/390330

But I want a more live solution like I get with the mouse: Ctrl+Mouse Wheel shortcut. Except I need it to be a keyboard shortcut (e.g in browsers there is Ctrl + + / Ctrl + -). Is there such a keystroke / or can one be set

like image 809
basarat Avatar asked Jan 12 '23 17:01

basarat


2 Answers

Nope. Currently only Ctrl+Mouse Wheel

Corresponding ticket: http://youtrack.jetbrains.com/issue/IDEA-84884


UPDATE: It has been implemented now (2 months later after writing this answer):

  1. Settings / Preferences | Keymap
  2. Type font in that screen search box
  3. Assign custom shortcuts to Increase and Decrease actions

enter image description here

like image 139
LazyOne Avatar answered Jan 19 '23 01:01

LazyOne


You can do the following .. verified in Android Studio 2.0

  1. Go to Preferences
  2. Go to Keymap
  3. In the search field, type font
  4. There you can double click on Increase and Decrease, and "add" a custom key binding.

I used

Decrease: ctrl -

Increase: ctrl +

like image 40
Gene Bo Avatar answered Jan 19 '23 01:01

Gene Bo