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

Bug 536795

Summary: Improve the DOT Editor Auto Edit functionality
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.200 (2018-09) M1   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Tamas Miklossy CLA 2018-07-08 08:16:50 EDT
Currently, the DOT Editor automatically inserts closing brackets/quotes when the user enters the opening ones.

This auto-edit functionality should be extended to support further use cases, e.g: the DOT Editor should auto insert closing html-like label tags when the user closes the opening tag by pressing the '>' symbol.
Comment 1 Tamas Miklossy CLA 2018-07-08 08:32:37 EDT
I pushed the following changes to origin/master:

[536795] Improve the DOT Editor Auto Edit functionality.

- Provide a DotAutoEditStrategyProvider with the corresponding binding
in the DotUiModule that delegates to the DotAutoEditStrategy.
- Provide implementation in the DotAutoEditStrategy class to auto insert
closing html-like label tags when the opening tag is closed by pressing
the '>' symbol.
- Implement corresponding DotAutoEditTests test cases.
Comment 2 Tamas Miklossy CLA 2018-07-17 13:24:01 EDT
Resolving as fixed in 5.0.200.