-
Notifications
You must be signed in to change notification settings - Fork 298
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
Support formatting #12
Comments
Is there something special I have to do to make 'format on save' work for Dart? I have VS Code 1.6.0 and Dart Code 0.11.2, and:
|
I haven't tried this out yet, but does it work if you save explicitly? The release notes have this:
but I'm not really sure what the delay they refer to is. If it works when you explicitly save, then I guess it's that. If that still doesn't work, feel free to raise a case about it not playing nice with |
Yeah, I found that confusing too. I think it refers to when "file.autoSave" is set to "afterDelay", which isn't what I selected. It doesn't format when I explicitly save. I tried setting "file.autoSave" to off and it didn't help. (I haven't seen formatting work at all, actually. When should it be working?) |
Alt+Shift+F formats (it's the normal Code shortcut). I expected it'd just get invoked on save now, but haven't had chance to review the 1.6 stuff. It also seems that compiles errors etc will cause forgetting to fail, could it that? Could you raise a new case with the details of what does/doesn't work and I'll try to take a look this week? Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: