Real Dreams
Real Dreams

Reputation: 18030

PhpStorm text size

Is it possible to define a shortcut to increase/decrease size of code in PhpStorm, like what you can do in Notepad++ with CTRL+Mouse Wheel?

Upvotes: 113

Views: 122397

Answers (9)

Buffalo
Buffalo

Reputation: 4052

Make sure you adjust the Color Scheme -> Font size as well. Without changing this, the Editor -> Font size did nothing for me.

enter image description here

Upvotes: 0

Anwar Benhamada
Anwar Benhamada

Reputation: 345

In PhpStorm 2020.2.1 go to :

Settings -> Editor-> Font

enter image description here

That's it

Upvotes: 5

Muhammad Faizan Khan
Muhammad Faizan Khan

Reputation: 10561

I am able to change my PHP Storm (version 8.0.3 or later) Fonts by

  1. Go to File and then click Settings.
  2. Form Left Side Menu, Select Editor --> General Tab
  3. Check this box under Mouse section Change font size (zoom) with Ctrl_Mouse Wheel (see below pic).

enter image description here

30 Second Demo Here

Upvotes: 28

gekh
gekh

Reputation: 2122

Also you can use View → Enter Presentation Mode.

Default font size for this mode is 24.

You can change it here: Settings → Appearance → Presentation Mode → Font size

Upvotes: 9

Csongor Halmai
Csongor Halmai

Reputation: 3905

In MacOS, you should navigate to the PhpStorm -> Preferences -> Editor -> General screen and check/uncheck the "Change font size (Zoom) with Command + Mouse Wheel" checkbox. I unchecked because I don't like it but maybe you do.

Moreover, you can use the finder field in the top left corner of the same PhpStorm -> Preferences dialog. Type the word "size" in this field and you will see a couple of items on the right hand side of the dialog. There are the Editor Actions -> Decrease Font Size and Editor Actions -> Increase Font Size options.

Right click each of them and choose "Add Keyboard Shortcut". Finally, press the Ctrl and numerical plus in case of Increase and Ctrl and numerical minus in case of Decrease and press OK (if you have numerical part of your keyboard).

Upvotes: 7

hamidreza
hamidreza

Reputation: 201

in new version in this address file > setting > Editor > general check this item Change font size (Zoom) with Ctrl+Mouse Wheel

Upvotes: 20

dtouch
dtouch

Reputation: 71

The pre-defined schemes are not editable. To change colors and fonts settings in such a scheme, create its copy. So to change font size select any scheme of your choice. Save the "scheme" as a copy with a name like "scheme 2". Now the default font size will be editable.

Upvotes: 7

SL5net
SL5net

Reputation: 2566

Switching beetween Editors and zooming text during presentations or so could be complicated. If you used to do it like in notepad++ than maybe this helps if you use win:

^NumpadAdd::
    send,^{WheelUp}
return

the complete script you could find here: https://gist.github.com/sl5net/7170280#file-gistfile1-txt

Upvotes: -1

Nikola K.
Nikola K.

Reputation: 7155

Enable CTRL+Mouse Wheel: Settings -> Editor -> Change font size (Zoom) with Ctrl+Mouse Wheel (check).

enter image description here


Specify exact font size: Settings -> Editor -> Colors & Fonts -> Font.

enter image description here

Upvotes: 196

Related Questions