(ctx context.Context, ls *ls.LanguageService, params *lsproto.DocumentFormattingParams)
| 1590 | } |
| 1591 | |
| 1592 | func (s *Server) handleDocumentFormat(ctx context.Context, ls *ls.LanguageService, params *lsproto.DocumentFormattingParams) (lsproto.DocumentFormattingResponse, error) { |
| 1593 | return ls.ProvideFormatDocument( |
| 1594 | ctx, |
| 1595 | params.TextDocument.Uri, |
| 1596 | params.Options, |
| 1597 | ) |
| 1598 | } |
| 1599 | |
| 1600 | func (s *Server) handleDocumentRangeFormat(ctx context.Context, ls *ls.LanguageService, params *lsproto.DocumentRangeFormattingParams) (lsproto.DocumentRangeFormattingResponse, error) { |
| 1601 | return ls.ProvideFormatDocumentRange( |
nothing calls this directly
no test coverage detected