Misleading error message when Language Server doesn't support range formatting #188441
Labels
feature-request
Request for new features or functionality
formatting
Source formatter issues
insiders-released
Patch has been released in VS Code Insiders
polish
Cleanup and polish issue
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
Type: Bug
denoland.vscode-deno
and enable it for a project.Observe the error message:
This is misleading, as the Deno Language Server does support TypeScript files. It supports document formatting but not range formatting.
Further, setting
editor.formatOnSaveMode: "modificationsIfAvailable"
or"modifications"
gives the same misleading error message on save.Originally reported at denoland/vscode_deno#860
VS Code version: Code 1.80.1 (74f6148, 2023-07-12T17:20:58.115Z)
OS version: Darwin arm64 23.0.0
Modes:
The text was updated successfully, but these errors were encountered: