To insert a non-breaking space in PhpStorm or any software, you do not need to install Persian (Standard). This operation is not performed by the software itself; it's related to the operating system. In Windows, this can be done with the shortcut key Shift + Ctrl + 2 (you must have the language set to Persian). However, in PhpStorm, this shortcut is already assigned to another function.
To avoid the need to install Persian (Standard) and to prevent the hassle of switching between normal and standard Persian, you need to remove this shortcut from PhpStorm. To do this, go to Settings, then navigate to the Keymap section, and search for mark. You will find the following option after scrolling down slightly: enter image description here
As you can see in the screenshot, I removed the option Toggle Bookmark 2, which was assigned to the shortcut Ctrl + Shift + 2. From now on, without needing to install Persian (Standard), I can create a non-breaking space using this default Persian language in the operating system by pressing Ctrl + Shift + 2.
If you have any questions about working with editors, please message me on Telegram at @arefalapour.
Thank you!