-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Closed
Labels
formattingSource formatter issuesSource formatter issuesverifiedVerification succeededVerification succeeded
Milestone
Description
- VSCode Version: 1.19
- OS Version: Mac OS 10.12.6
I am having some trouble with editor.formatOnSave=true when using the Ruby extension. It isn't formatting on save. This is strange, because a manual Format Document works fine. How is that possible?
I assumed this was user error or an extension bug. So I modified the extension locally and added some debug output to this file:
https://github.com/rubyide/vscode-ruby/blob/master/src/format/rubyFormat.ts
I verified that the correct edits were being returned from provideDocumentFormattingEdits. This makes sense since a manual Format Document works fine. What am I missing? Could this be a vscode bug? Not sure how to debug further.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
formattingSource formatter issuesSource formatter issuesverifiedVerification succeededVerification succeeded