You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't find any information on what the vim command = is supposed to do - can you provide more info about this? (I think a VsCodeVim extension, but I can't find any docs suggesting that = is related to formatting).
If you click Format Document in the context menu, does that work? If so, my guesses are:
= if used in vim for formatting though it is required to choose a selection (the selection can be the entire file with gg=G [go to top of file, format until bottom]). Format document does work, so it is safe to assume this is related to dart-lang/dart_style#92 . Safe to assume we can close this then as it's basically a duplicate.
Seems like we actually don't have an open issue about this as a reminder, so I'm re-opening this and re-purposing it. If/when the above case is done, we will implement this (and in the meantime, this case can serve as a reminder of something we want to do but are blocked on).
Reacted by Patrick Artounian, Levi Brown, Greg Spencer, cielo, Dmitry Ivanov, Jose Blanco, LaZyQ and Mayur Dhurpate
Activity
DanTup commentedon Apr 18, 2018
I can't find any information on what the vim command
=is supposed to do - can you provide more info about this? (I think a VsCodeVim extension, but I can't find any docs suggesting that=is related to formatting).If you click
Format Documentin the context menu, does that work? If so, my guesses are:partounian commentedon Apr 18, 2018
=if used in vim for formatting though it is required to choose a selection (the selection can be the entire file withgg=G[go to top of file, format until bottom]). Format document does work, so it is safe to assume this is related to dart-lang/dart_style#92 . Safe to assume we can close this then as it's basically a duplicate.[-]There is no formatter for 'dart'-files installed. (vim vscodevim plugin)[/-][+]Support "format selection"[/+]DanTup commentedon Apr 18, 2018
Seems like we actually don't have an open issue about this as a reminder, so I'm re-opening this and re-purposing it. If/when the above case is done, we will implement this (and in the meantime, this case can serve as a reminder of something we want to do but are blocked on).
[-]Support "format selection"[/-][+]Support "format selection" [LSP][/+][Analyzer] Add LSP support for Format Selection/Range
DanTup commentedon Nov 12, 2020
Fixed by dart-lang/sdk@44e680a.