Half Space (semi-space) in Persian or Arabic

Hi

In Persian or Arabic languages we can use half-space in our documents.

For example, in notepad (Windows) or Microsoft Word, we can use half-space with Ctrl+Shift+2 keys. (If windows keyboard be Persian)

In another IDE's I can use from half-space. But in PHPStorm or Android Studio, I can't write half-space in my source codes.

 

Here is a sample for half-space.

I want to write this text. => این یک تست می‌باشد.

After می I want to use half-space.

Now when I want to write, In PHPStorm will be written: می باشد

But I want می‌باشد

 

How can I fix the problem?

Thanks

0
7 comments

Helloooo. Anybody there?

0
Avatar
Permanently deleted user

Hello .

i have this problem too,

i don't find any things,

so i write my text in notepad with semi-space (CTRL+SHIFT+2) then copy that to Android Studio.

0

Thanks Ahmad,
Me too :-)

But it's a problem in the JetBrains tools. 

0
Avatar
Permanently deleted user

i ask a question about this problem in the 

stackoverflow , hope someone solve that.

https://stackoverflow.com/questions/50577172/semi-space-or-half-space-in-android-studio?noredirect=1#comment88163496_50577172

0
Avatar
Permanently deleted user

This issue should be fixed since 2017.3 builds of IntelliJ-based tools: https://youtrack.jetbrains.com/issue/IDEA-177979 

0
Avatar
Permanently deleted user

You Must use Persian Standard keyboard.


دوست عزیز شما باید از کیبورد استاندارد فارسی استفاده کنید. این کیبورد در ویندوز ۱۰ که به راحتی قابل استفاده است (فراموش نکنید که کیبورد پیش‌فرض کیبورد عربی است که فارسی سازی شده است و این یک کیبورد استاندارد نیست) و اگر از ویندوز ۷ استفاده می‌کنید می‌توانید برنامه کیبورد استاندراد را دانلود و نصب کنید. کیبورد استاندارد چند تفاوت با کیبورد معمولی فارسی دارد. اول اینکه علائم عربی در این کیبور جابجا شده است (بهتر و اصولی‌تر شده است)، دوم اینکه حرف پ به جای درستی منتقل شده است و سوم اینکه شما می‌توانید در هر محیطی از نیم‌فاصله استفاده کنید (البته با استفاده از shift+space) و مشکل شما برطرف خواهد شد.

0

To insert a non-breaking space in PhpStorm, 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:

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!

1

Please sign in to leave a comment.