Bug 496243 - QVTo auto completion for '{' and '}' incorrectly takes comments into accounts
Summary: QVTo auto completion for '{' and '}' incorrectly takes comments into accounts
Status: UNCONFIRMED
Alias: None
Product: QVTo
Classification: Modeling
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-16 04:28 EDT by Dennis Hendriks CLA
Modified: 2016-06-16 05:18 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot showing the issue (25.52 KB, image/png)
2016-06-16 04:28 EDT, Dennis Hendriks CLA
no flags Details
Example QVTo transformation to show the issue, used to create the screenshot (113 bytes, text/plain)
2016-06-16 04:29 EDT, Dennis Hendriks CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Hendriks CLA 2016-06-16 04:28:59 EDT
Created attachment 262488 [details]
Screenshot showing the issue

It seems that the QVTo text editor takes comments into account when auto completing '{' and '}', or so. See attached screenshot. This occurs quite regularly for me, and is extremely annoying. Having '{' and '}' in comments is not that common. Having (temporarily) commented out code however, is quite common.
Comment 1 Dennis Hendriks CLA 2016-06-16 04:29:40 EDT
Created attachment 262489 [details]
Example QVTo transformation to show the issue, used to create the screenshot
Comment 2 Dennis Hendriks CLA 2016-06-16 05:18:39 EDT
Actually, it turns out that pressing enter, or even pasting some code that includes a newline character, leads to the extra characters being inserted, regardless of where I insert it. I'm no longer convinced it has to do with '{' or '}' in a comment. This does still impact productivity considerably.