typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Add fourslash support for formatting requests

Open DanielRosenwasser opened this issue 1 month ago • 0 comments

LSP specifies the following commands for formatting.

  • textDocument/formatting
  • textDocument/rangeFormatting
  • textDocument/onTypeFormatting

We should support all of them, but our test harness (fourslash) doesn't provide a way to actually test these commands yet. We need these so we can write new tests and eventually port our previous test suite over.

DanielRosenwasser avatar Oct 31 '25 19:10 DanielRosenwasser