Commit c852db9
committed
Move workspace symbol implementation out of SourceKitLSPServer.swift
The `workspace/symbol`, `workspace/symbolNames`, `workspace/symbolInfo`
and `workspaceSymbol/resolve` implementations made up roughly 470 lines
of SourceKitLSPServer.swift. Move them to WorkspaceSymbols.swift and
leave each request handler in SourceKitLSPServer.swift as a single
statement that forwards to its implementation.
Also remove `languageClass(for:)`, whose last caller went away when
language service instances became scoped per workspace.1 parent c86a006 commit c852db9
3 files changed
Lines changed: 509 additions & 477 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments