PhpStorm text size - phpstorm

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?

Enable CTRL+Mouse Wheel: Settings -> Editor -> Change font size (Zoom) with Ctrl+Mouse Wheel (check).
Specify exact font size: Settings -> Editor -> Colors & Fonts -> Font.

I am able to change my PHP Storm (version 8.0.3 or later) Fonts by
Go to File and then click Settings.
Form Left Side Menu, Select Editor --> General Tab
Check this box under Mouse section Change font size (zoom) with Ctrl_Mouse Wheel (see below pic).
30 Second Demo Here

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

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

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.

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).

In PhpStorm 2020.2.1 go to :
Settings -> Editor-> Font
That's it

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

Related

PhpStorm - Zoom In for Non-Editor text (e.g. Menus and Tool Windows)

I am just starting to use PhpStorm (version 2021.2.2)
I can see you can easily make the text larger in the editor using ctrl mouse wheel. But is there a way to expand the general application text, e.g. as used in the menus, tool windows, project tree structure, etc?
This would be the equivalent of the View->Appearance->Zoom In option in VS Code.
Settings (Preferences on macOS) | Appearance & Behavior | Appearance | Use custom font -- you can specify custom font size there.
Default settings (Windows 10; no screen scaling or alike; all native 100%):
Custom font size (16):
Click to open both images in new tabs and switch between them to compare

How to let user change text font and colour in WordPress WSIWYG text editor

I have set up a WordPress website for a client and have found that the user cannot:
1) change font size
2) change the actual font
3) change colour of the font
for the text they enter in the WordPress admin section as there are no tools to do this in the WSIWYG text editor.
Any suggestions on how to achieve this, I have tried looking for a plugin that enables this but can't seem to find one.
Of course they can achieve this in the Text section through HTML but the users are not familiar with HTML and CSS and frankly I wouldn't want them doing that.
I am using the latest version of WordPress (3.9.2)
p.s. I have the TinyMCE Advanced plugin installed already, it's quite cool but it doesn't have the above features I want.
Believe It or Not you can do this with TinyMCE Advanced.
step 1.) Install and activate the plugin (you said that you done that)
step 2.) Navigate to Settings->TinyMCE Advanced (in admin back-end and click it)
step 3.) There you will see it says Unused Buttons click the button you want and
drag and drop it inside Editor Settings (above Unused Buttons).
step 4.) after you have drag and dropped buttons click Save
step 5.) in order to change font color hover over icons inside Edit post
on one of them (beside undo/redo button) you will see on hover tool-tip that says Toolbar Toggle
click it and it will expand TinyMCE
step 6.) beside emoticons icon you will see an A letter (that letter is
underlined) this is where you change text color.
As you can see there a lot of options to choose from (you probably want Font Family and Font Sizes just see the step3 )

change font size of Chrome bookmarks panel

bookmarks bar doesn't zoom in with page zooming or minimal font setting in chrome.
So is there a way to increase font size for bookmarks bar?
In XP you can change font size of bookmarks and tabs of the chrome by changing the Message Box value in display properties menu;
Control Panel -> Display -> Appearance -> Advanced -> Item -> Message Box
There might be a way to change the chrome bookmark bar font size using the "chrome browser settings", but I'm not entirely sure. Alternatively, use the "OS settings". These settings are usually found in categories named: visual, appearance, theme, font size, etc... and can
be adjusted on either a specific or global scale.
OS (Windows 10)
Start > Settings > Make text size bigger
Start > Settings > Change the size of text, apps, and other items > Scale and layout
Start > Settings > Make everything bigger > Make everything bigger
On Google Chrome click on 3 dots on upper right hand corner and scroll down to settings. Settings>Advanced>Accessibility>Manage Accessibility Features>Display>Open Display Settings>Display Size>(Move bar towards middle of Tiny and Huge or to your liking)
For windows 11...
select windows start button
type font in search bar
choose "make text size bigger"
Use scale to increase text size according to your preference, select apply
THENNNN, use the magnifier (upper right icon in url bar or use CTRL and -) to reduce the size of your screen from 100%
Not ideal fix, but a temporary solution that worked for me!
Its so easy dear. Just type the following in your chrome browser:
chrome://flags
Now scroll down untill you find the option "HiDPI Support Windows".
Once you found the option change it from Default to Engable and then click on relunch now. You are done your from now your bookmark toolbar icons will be big.
Click on bookmarks.
On top of the bookmark list, click Bookmark Manager.
Then simply use the Ctrl and + or _ to increase or decrease font size.
Alternately, press Ctrl and roll the mouse wheel.

How does one set the tab width in Komodo Edit?

This is a rather simple done in Emacs or NEdit, but I could not find how to setup tab width in Komodo Edit (I use 7.1).
Komodo has a bug in the setting "Allow file contents to override tab settings". Here is the fix:
Go to: Preferences → Editor → Indentation. From this screen, turn off "Allow file contents to override tab settings" as this is very buggy and can cause Komodo to override your settings (hence the need to change the per-file-setting in other people's solutions)
From this screen, check all other tab settings, and check the per-language settings in the drop down.
Now close all files and after reopening them the settings should now take effect permanently. This is a better solution as you will no longer have to go to each file and constantly reset the per-file indent settings.
Go to the preferences page.
Depending on your display style - GTK style I think, the plus sign or what it is in front of the entry "editor" might be unvisible.
Either double click on "editor" to show the subtree, click into the free space in front of it (like sinking submarines), or search for indent or tab in the search bar.
There you will find the indentation setup details.

Auto-convert tab to 4 spaces in TextWrangler?

Is there a preference in Textwrangler to redefine a tab as 4 spaces? In Vim this is set expandtab in the vimrc, but I don't know how to set it in TW besides clicking "Detab" when I'm done editing the document.
Thanks,
Kevin
Go to "Preferences" -> "Editor Defaults" -> "Auto-expand tabs," and then set tabs to 4 spaces. Then restart TextWrangler for changes to take place.
For docs that already exist you have to hit the "Text Options" button in the top of the editor window of the open document. In older versions, it's the button that looks like a "T" with a light switch next to it; with newer versions, it's a gear "⚙" icon. In that drop down there is the "auto-expand tabs" as well.
in version 4.5.5, there is 'Text -> Detab...', which pops up a requester for how many space per tab, preset for 4.
Go to Edit -> Text Options and tick Auto-expand tabs. This will make all the new tabs to change to spaces.
To change all current tabs to spaces as well, go to Text -> Detab and hit Detab.
Hope that helps!
For Mac, another easy way to check and enable "Auto-expand tabs" is to hit the gear button on top left.
You can also use "Normalize Options..." to set the text options of an already-open document to whatever you have set in your Preferences. This is useful for dealing with pre-existing code.
There are two places you need to set the settings for this to work. One is for previously opened documents, and the other for all documents to be opened or created in the future.
The Settings
set "Auto-expand tabs" to checked
set "Tab width" to 4
Previously Opened Documents
Click the "Text Options" button. It is in the top left of the editor window directly above the document view of the open document. In newer versions it's a gear "⚙" icon. And in older versions it is a "T" and light switch.
New Documents
go to preferences menu: BBEdit -> Preferences
choose "Editor Defaults" from the side-bar in Preferences