|Xtext String no quotes [message #1851422]
||Tue, 05 April 2022 13:38
| John Henbergs
Registered: October 2020
I have defined class in my dsl (in xtext) with various references and attributes.
One of them is
attributeA : EString.
Now in the textual editor, I write it inside double quotes.
However, when I check it in the tree editor, it still has the double quotes, and I am not expecting that as it is a string, in the tree editor I expect to only see sometext not "sometext".
And the weirdest thing, is that in another class I only have one attribute, lets say attributeB, and in this case in the textual editor I have "sometext", while in the tree editor I have sometext with no double quotes (like I am expecting).
Checked both, and they both look the same. The only different is that attributeB is the only one in that class. Any idea why this could be happening?
Powered by FUDForum
. Page generated in 0.02402 seconds