Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i advise to NOT use this plugin (reasons inside) #7

Open
shula opened this issue Jan 11, 2013 · 8 comments
Open

i advise to NOT use this plugin (reasons inside) #7

shula opened this issue Jan 11, 2013 · 8 comments

Comments

@shula
Copy link

shula commented Jan 11, 2013

this plugin, although it's sort-of solution to many requests, and i thank the developer for doing at least that, is counter productive:

  1. it stores language in VISUAL form, not LOGICAL. The visual standard is long-time deprecated, so this text will not be useful anywhere but in Sublime.

  2. it is not possible to EDIT the hebrew/arabic text reasonably:

  • the new text will appear reveresed again,
  • it's difficult to edit numbers, dates, non-RTL parts, etc.

(i'm hebrew user myself).

Sorry that i don't bear good news.
These days there are several other RTL text editors, all work this way or another.
The only workaround i can see is saving your RTL texts in a resource file, and refering these strings with proper code.

@mojtaba
Copy link

mojtaba commented Jan 11, 2013

Thanks @shula. Looks like we should give up using Sublime for Bidi code editing, at least for now.

@imdark
Copy link
Contributor

imdark commented May 10, 2014

Working on fixing both issues, won't be easy though.
It might not even be possible to make a complete fix in a sublime plugin using the current api.

  1. We can use the before save events to convert the file back to a logical format by reversing back the visual conversion and using the rtl ltr chars.
  2. As far as editing, I have written down my preposed solution in New text written after using Ctrl+B is not formatted correctly #10

@rostamiani
Copy link

Yes, It's useless then, My page got corrupted in browser :(

@mguttman
Copy link

Dear @shula,
Has anything changed since 2013???
Please answer [email protected]

@rostamiani
Copy link

@mguttman
The best solution I found is "RTL To Dialog" package.

@suhrabruin
Copy link

it is not working properly with Persian language. All Farsi text are corrupted in browser. :(

@mguttman
Copy link

I know how much pain it is to switch editors. All the new icons, keyboard shortcuts, macro's etc. we got used to are now mostly gone and we have to start from scratch.
But, Microsoft Visual Studio Code is a powerful editor with many plugins and most relevant here it supports fairly well RTL languages, at least Hebrew! It is available on both Windows and Linux. (I think it is also available on Mac, but I am not sure.)
FYI

@timsully
Copy link

I know how much pain it is to switch editors. All the new icons, keyboard shortcuts, macro's etc. we got used to are now mostly gone and we have to start from scratch.
But, Microsoft Visual Studio Code is a powerful editor with many plugins and most relevant here it supports fairly well RTL languages, at least Hebrew! It is available on both Windows and Linux. (I think it is also available on Mac, but I am not sure.)
FYI

Is there a plugin similar to this that we can utilize with VS Code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants