RubyMine 2016.3 Help

Text Direction

RubyMine enables you to choose the base direction to render the strings and tokens , containing bidirectional text, like a mix of English and Hebrew or Arabic.

To choose the direction of rendering strings

  1. On the menu View, point to the node BiDi Text Direction.
  2. Choose the required direction:
    /help/img/idea/2016.3/bidi_text.png

By default, the direction of rendering is content-based, which means that text direction is defined by the text with which the string begins. For example, if the string start with English, then the base direction of text is LTR.

However, it is also possible to always use either LTR or or RTL as the base direction.

So doing, the string literals change their view:

/help/img/idea/2016.3/bidi_text_results.png

See Also

```
Last modified: 22 March 2017