|
|
Re: Formatter2 Warnings Everywhere: Discouraged access: The type IHiddenRegionFormatter [message #1720916 is a reply to message #1720911] |
Thu, 21 January 2016 19:29 |
Brandon Lewis Messages: 268 Registered: May 2012 |
Senior Member |
|
|
Something pretty fundamental is not setup correctly:
Discouraged access: The type AbstractFormatter2 is not accessible due to restriction on required project <your project>
... and that warning is on the import statement!
Of course, all I knew to do was this in my MWE2 file:
// formatter API
// fragment = formatting.FormatterFragment auto-inject {}
//fragment = ecore2xtext.FormatterFragment auto-inject {}
fragment = formatting2.Formatter2Fragment {}
My project was using the ecore2xtext.FormatterFragment beforehand since I've imported from an existing ecore model.
Needless to say, I'm having issues figuring out where to even start with the new formatter API. (and I didn't know the last one either)
[Updated on: Thu, 21 January 2016 19:30] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02326 seconds