eclipse-qvto / org.eclipse.qvto

Eclipse Public License 2.0
0 stars 1 forks source link

QVTo auto completion for '{' and '}' incorrectly takes comments into accounts #981

Open eclipse-qvt-oml-bot opened 1 week ago

eclipse-qvt-oml-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 496243 | | Status | UNCONFIRMED | | Importance | P3 normal | | Reported | Jun 16, 2016 04:28 EDT | | Modified | Jun 16, 2016 05:18 EDT | | Reporter | Dennis Hendriks |

Description

Created attachment 262488\ 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.

auto_complete.png

auto_complete.png

eclipse-qvt-oml-bot commented 1 week ago

By Dennis Hendriks on Jun 16, 2016 04:29

Created attachment 262489 Example QVTo transformation to show the issue, used to create the screenshot

:notepad_spiral: test.qvto

eclipse-qvt-oml-bot commented 1 week ago

By Dennis Hendriks on Jun 16, 2016 05:18

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.