PyCharm IDE how can I change font size with out zo

2020-05-19 04:20发布

问题:

As title says, how can I change the font size in editor by some value. I like the scrolling thing, but the problem is I have to scroll again and every time I open an IDE again.

I found the settings for changing the value of the font size, but it's disabled. Do I have to pay for that feature ?

回答1:

  • version 2017.1 and older -- Settings/Preferences | Editor | Colors & Fonts | Font
  • since 2017.2 -- Settings/Preferences | Editor | Color Scheme | Color Scheme Font

I found the settings for changing the value of the font size, but it's disabled.

It's disabled because it is not allowed to edit bundled scheme. To "enable" it just create your own scheme based on any of the bundled ones (click the "Save As" button next to Scheme Name):

Once you've done that you can alter any of the color/style settings.


If you have somehow increased (or decreased) the font size dynamically via shortcut then just use the "Reset Font Size" action. You can assign any shortcut to those actions at Settings/Preferences | Keymap:

You can also call that action directly via Help | Find Action...:



回答2:

Adding Keyboard Shortcut for font zooming pycharm

  1. File --> Settings .
  2. Select keymap.
  3. Search for Increase font size and Decrease font size and add New Keyboard Shortcut .

    Make sure that the shortcut you selected do not effect other shortcuts.

  4. Done .


回答3:

Quick answer:

In 2018/2017 version:

  1. File --> Settings...
  2. In left side expand Editor --> Font
  3. Change Size value.
  4. Apply + OK



回答4:

For Mac

To edit Font size, do the following:

Click PyCharm | Preferences from the main menu, and then go to Editor | Font.



回答5:

If you have a custom theme you may need to do it in the theme's settings page. Editor -> Color Scheme -> Color Scheme Font



回答6:

Using shortcut In windows Ctrl+Alt+S brings Setting window for Pycharm straightaway, then on left hand side you can click on font tab, and increase or decrease size of font as you like. It changes font size of code that you actually write inside PyCharm IDE.