(ctx context.Context, ls *ls.LanguageService, params *lsproto.DocumentRangeFormattingParams)
| 1598 | } |
| 1599 | |
| 1600 | func (s *Server) handleDocumentRangeFormat(ctx context.Context, ls *ls.LanguageService, params *lsproto.DocumentRangeFormattingParams) (lsproto.DocumentRangeFormattingResponse, error) { |
| 1601 | return ls.ProvideFormatDocumentRange( |
| 1602 | ctx, |
| 1603 | params.TextDocument.Uri, |
| 1604 | params.Options, |
| 1605 | params.Range, |
| 1606 | ) |
| 1607 | } |
| 1608 | |
| 1609 | func (s *Server) handleDocumentOnTypeFormat(ctx context.Context, ls *ls.LanguageService, params *lsproto.DocumentOnTypeFormattingParams) (lsproto.DocumentOnTypeFormattingResponse, error) { |
| 1610 | return ls.ProvideFormatDocumentOnType( |
nothing calls this directly
no test coverage detected