MCPcopy Create free account
hub / github.com/microsoft/typescript-go / localize

Method localize

internal/lsp/progress.go:26–26  ·  view source on GitHub ↗

localize converts a diagnostic message to a display string.

(msg *diagnostics.Message, args ...any)

Source from the content-addressed store, hash-verified

24 done() <-chan struct{}
25 // localize converts a diagnostic message to a display string.
26 localize(msg *diagnostics.Message, args ...any) string
27 // createWorkDoneProgress asks the client to create a progress token.
28 createWorkDoneProgress(token string)
29 // sendProgress sends a $/progress notification.

Callers 2

runMethod · 0.65
beginOrReportMethod · 0.65

Implementers 2

serverProgressReporterinternal/lsp/progress.go
fakeProgressReporterinternal/lsp/progress_test.go

Calls

no outgoing calls

Tested by

no test coverage detected