Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 532216

Summary: Improve the DOT Editor formatter
Product: [Tools] GEF Reporter: Tamas Miklossy <miklossy>
Component: GEF DOTAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.0.100 (Photon) M6   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Tamas Miklossy CLA 2018-03-09 02:43:26 EST
Currently, the formatter of the DOT Editor relies on the OneWhiteSpaceFormatter that is provided by the Xtext framework by default. 

This formatter should be improved to provide better alignment/indentation of the dot elements.
Comment 1 Tamas Miklossy CLA 2018-03-09 02:58:01 EST
I pushed the following changes to origin/master:

[532216] Improve the Dot Editor formatter.

- Improve the DotFormatter and the DotHtmlLabelFormatter to provide
better formatting results than the default one whitespace formatter.
- Implement DotNodeModelStreamer that is capable of delegating the
formatter functionality from the Dot host grammar formatter to the Dot
sub-grammar formatter.
- Implement corresponding DotFormatterTests and DotHtmlLabelFormatter
test cases.

Resolving as fixed in 5.0.100 (Photon) M6.