Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext Formatting(In my application Formatting2 is not recognized)
Xtext Formatting [message #1694160] Fri, 01 May 2015 06:58 Go to next message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
In my file:
XXXXXFormatter.xtend

the line:
import org.eclipse.xtext.formatting2.AbstractFormatter2

is display the message:
Discouraged access: The guy is not available IFormattableDocument
due to restriction on required project org.infoly.xtext.xbase.XXXXX

and all other rows containing:
org.eclipse.xtext.formatting2

This is the only problem I have in the development of my language XXXXX

Can you tell me how to solve this problem. Thank you in advance.
-----------
With : Eclipse DSL Tools
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

Re: Xtext Formatting [message #1694178 is a reply to message #1694160] Fri, 01 May 2015 15:46 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
This is only a warning to indicate that the new formatting API is still
provisional. You can use it nevertheless.

Best,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Find help at http://xtext.itemis.com or xtext(@)itemis.com
Blog: zarnekow.blogspot.com
Twitter: @szarnekow
Google+: https://www.google.com/+SebastianZarnekow
Re: Xtext Formatting [message #1694207 is a reply to message #1694178] Sat, 02 May 2015 05:48 Go to previous message
Yves LEDUC is currently offline Yves LEDUCFriend
Messages: 56
Registered: May 2015
Member
Thank you, it was some days I was stuck on this problem and I could not find information on this subject.
Previous Topic:Cross-referencing to non-Xtext elements
Next Topic:Manipulating / Creating XExpressions before code generation
Goto Forum:
  


Current Time: Thu Apr 25 09:59:22 GMT 2024

Powered by FUDForum. Page generated in 0.03400 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top