RTL comments in XML Comments intellisense displays words in reverse order
I have an SRS written in RTL (Hebrew) that cannot be touched.
I have translated Hebrew names into SRS. Of course I want to understand the meaning of the value in my enum (or any other object)
I did the following
enum Objects
{
/// <summary>אזעקה</summary> // <=== the hebrew name (RTL)
Alarm,
/// <summary>סיבת אזעקה</summary> // <=== the hebrew name (RTL)
Alarm_Reason
}
Now as I write Objects.Alarm
, IntelliSense displays correctly "אזעקה"
.
However, as I write Objects.Alarm_Reason
, IntelliSense displays incorrectly "אזעקה סיבת "
instead of displaying correctly "סיבת אזעקה"
. Word order switches!
Is there a way to fix this?
Is it possible to create a VS2010 plugin that will make IntelliSense accept RTL?
source to share
Adding a Hebrew input language and activating it can make it work as you see fit:
And then try to insert / insert 2 words again in XML.
Update
From what I've read, I've come to the same conclusion that this is not possible with the basic functionality of visual studio.
As you said, it might be a good idea to write a plugin to convert the pivot to RTL form when displaying a tooltip.
The following links may be helpful:
source to share