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
Hi, just started exploring dprint and tried this extension, formatting the document works fine but when I try to format a selection VScode complains about dprint not being a valid formatter for [current file type].
I could not understand if this was a limitation with the extension(/dprint) or a bug?
Minimal repro:
Create a new folder
Init dprint with default settings
add newlines at top of dprint.json
> Format document works as exepcted
highlighting the newlines and selecting > Format selection (cmd+k cmd+f) throws in VScode with error:
"Extension 'Dprint Code Formatter' is configured as formatter but it cannot format 'JSON'-files"
Hi, just started exploring dprint and tried this extension, formatting the document works fine but when I try to format a selection VScode complains about dprint not being a valid formatter for [current file type].
I could not understand if this was a limitation with the extension(/dprint) or a bug?
Minimal repro:
> Format document
works as exepcted> Format selection
(cmd+k cmd+f) throws in VScode with error:My setup:
dprint: 0.37.1 (homebrew install)
VScode: 1.79.0
dprint.dprint extension: v0.14.0
The text was updated successfully, but these errors were encountered: