RTL and LTR languages work in txt files but not in code files?

Answered

I am using IntelliJ IDEA and I am working on projects with an RTL language (Hebrew, to be specific). I thought IntelliJ could support working with a mix of English and Hebrew as seen in this .txt file:

However, when I come to work with code files (Specifically, Latex with the TeXiFY plugin: https://plugins.jetbrains.com/plugin/9473-texify-idea, but this is the same for java files), The RTL parts of the file are reversed which makes it very hard to edit:

Why are mixed languages work well in txt files, and not in any other type of files, most importantly code files?

And of course, how can I fix this so that having English and Hebrew text in my code works well and is easy to edit?

I looked at many editors, both general purpose (like VSCode) and Latex specific (like TexMaker), and most of them have poor support for mixed languages or no support at all, and I thought IntelliJ could solve my issues and make mixed languages projects easier to work with.

Any ideas on how to solve these issues?

Thanks in advance.

0
1 comment

Please file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA for Java and other languages that are supported by JetBrains. For the third-party plug-ins you should report it in the plug-in issue trackers.

0

Please sign in to leave a comment.