-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing assist has different behavior depending on whitespace #877
Comments
@alexander-doroshko is this a Flutter/Dart issue or a platform issue? |
Looks like an IntelliJ's issue, not sure at the moment, Dart plugin or Live Templates engine. |
I checked the server log file. There is not much difference in the assists returned in the two examples. Minor text and file offsets, as expected, but no structural differences in the JSON. The linked edit groups do not work when there is a newline between the first and second. They do work when both are on the same line. Linked edit groups in live templates (like @scheglov Do you know of any issues with linked editing in assists? |
No, I'm not aware about such problems with linked editing. |
More observations:
|
Steps to Reproduce
Text
and press Alt-EnterRo
and press Tab to complete toRow
=> Cursor moves to 'child', and 'child' is in a red box suggesting you have to complete it
Text
and press Alt-EnterRo
and press Tab to complete toRow
=> Cursor moves to right after
Row(
. Subsequent Tab presses just adds empty tabs stopsVersion info
Flutter plugin version 12 in IDEA version 2017.1 on Windows.
The text was updated successfully, but these errors were encountered: