MCPcopy Create free account
hub / github.com/docker/docker-language-server / startServer

Function startServer

e2e-tests/initialize_test.go:62–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func startServer() *server.Server {
63 docManager := document.NewDocumentManager()
64 s := server.NewServer(docManager)
65 return s
66}
67
68func createDidOpenTextDocumentParams(homedir, testName, text string, languageID protocol.LanguageIdentifier) protocol.DidOpenTextDocumentParams {
69 return protocol.DidOpenTextDocumentParams{

Callers 15

TestHoverFunction · 0.85
testHover_ComposeFunction · 0.85
testRenameFunction · 0.85
TestInlineCompletionFunction · 0.85
TestFormattingFunction · 0.85
TestDocumentLinkFunction · 0.85
testPublishDiagnosticsFunction · 0.85
testInitializeFunction · 0.85
TestInitializeFunction · 0.85
TestRegisterCapabilityFunction · 0.85
testPrepareRenameFunction · 0.85

Calls 2

NewDocumentManagerFunction · 0.92
NewServerFunction · 0.92

Tested by

no test coverage detected