-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finish Formatting #6
Labels
good first issue
Good for newcomers
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update TemplateFormatter.xtend so that it properly formats everything.
To see how the formatter works, install everything per the setup instructions. Then start a second Eclipse.
In that second Eclipse,
/com.epistimis.uddl.tests/src/com/epistimis/uddl/tests/UDDL_SDM_Min.uddl
Modifying the code
The code that formats FACE Templates can be found in
/com.epistimis.uddl.query/src/com/epistimis/uddl/query/formatting2/QueryFormatter.xtend
For examples of how to do this (and some generic functions you can use), see
/com.epistimis.face.template/src/com/epistimis/face/template/formatting2/TemplateFormatter.xtend
The task is to use what you see as an example and extend the code to properly format every Template grammar element. You'll need to create one or more template files, each containing at least 3 of each of the things described in the Template.xtext file.
The text was updated successfully, but these errors were encountered: