You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update FaceFormatter.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,
create a new blank project (File -> New -> Project or File->New->Other->General->Project) and click Next.
Give it a name and click Finish.
copy the following file from the first Eclipse to the new project:
/com.epistimis.uddl.tests/src/com/epistimis/uddl/tests/UDDL_SDM_Min.uddl
Open the UDDL file in the new project.
Select the edit window, and use Cmd-Shift-F on Mac or Alt-Shift-F on Windows to format the file.
Modifying the code
The code that formats the FACE file can be found in
/com.epistimis.face/src/com/epistimis/face/formatting2FaceFormatter.xtend
It already contains a lot of work - but it is not yet complete. Nor is the sample FACE file. Your task is to use what you see as an example and extend the code to properly format
Everything you see in the existing FACE file;
One or more larger FACE files that contains at least 3 of each of the things described in the Face.xtext file.
Note that the example FACE file you see is already partially formatted. That won't always be the case. You should create sample files that take worst case formatted files (there are at least 2 worst cases - at opposite ends of the spectrum) and make sure your formatting works on them as well. You can create those worst case formatted files starting from the sample file if you want.
The text was updated successfully, but these errors were encountered:
Update FaceFormatter.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 the FACE file can be found in
/com.epistimis.face/src/com/epistimis/face/formatting2FaceFormatter.xtend
It already contains a lot of work - but it is not yet complete. Nor is the sample FACE file. Your task is to use what you see as an example and extend the code to properly format
Note that the example FACE file you see is already partially formatted. That won't always be the case. You should create sample files that take worst case formatted files (there are at least 2 worst cases - at opposite ends of the spectrum) and make sure your formatting works on them as well. You can create those worst case formatted files starting from the sample file if you want.
The text was updated successfully, but these errors were encountered: