You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Modules.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,7 @@ Swift types to represent the [Language Server Protocol (LSP) specification, vers
36
36
37
37
### LanguageServerProtocolJSONRPC
38
38
39
-
A connection to or from a SourceKit-LSP server. Since message parsing can fail, it needs to handle errors in some way and the design decision here is to use LSPLogging, which hardcodes `org.swift.sourcekit-lsp` as the default logging subsystem and thus makes the module unsuitable for generic clients.
40
-
41
-
### LSPLogging
42
-
43
-
Types that are API-compatible with OSLog to allow logging to OSLog when building for Darwin platforms and logging to stderr or files on non-Darwin platforms. This should not be dependent on any LSP specific types and be portable to other packages.
44
-
45
-
FIXME: Rename the module to SKLogging
39
+
A connection to or from a SourceKit-LSP server. Since message parsing can fail, it needs to handle errors in some way and the design decision here is to use SKLogging, which hardcodes `org.swift.sourcekit-lsp` as the default logging subsystem and thus makes the module unsuitable for generic clients.
46
40
47
41
### LSPTestSupport
48
42
@@ -85,12 +79,15 @@ Discovers Swift toolchains on the system.
85
79
- ToolchainRegistry.swift
86
80
- XCToolchainPlist.swift
87
81
82
+
### SKLogging
83
+
84
+
Types that are API-compatible with OSLog to allow logging to OSLog when building for Darwin platforms and logging to stderr or files on non-Darwin platforms. This should not be dependent on any LSP specific types and be portable to other packages.
88
85
89
86
### SKSupport
90
87
91
88
Contains SourceKit-LSP-specific helper functions. These fall into three different categories:
92
89
- Extensions on top of `swift-tools-support-core`
93
-
- Functionality that can only be implemented by combining two lower-level modules that don't have a shared dependency, like `LSPLogging` + `LanguageServerProtocol`
90
+
- Functionality that can only be implemented by combining two lower-level modules that don't have a shared dependency, like `SKLogging` + `LanguageServerProtocol`
94
91
- Types that should be sharable by the different modules that implement SourceKit-LSP but that are not generic enough to fit into `SwiftExtensions`, like `ExperimentalFeatures`.
0 commit comments