Commit Graph

11 Commits

Author SHA1 Message Date
Alex Hoppen
8c34a76f59 Rename LSPLogging to SKLogging 2024-07-25 09:11:13 -07:00
Alex Hoppen
2877675bd5 Adopt package access level
Change a l public declarations to the `package` access level, accept for:
- The `LanguageServerProtocol` module
- The `BuildServerProtocol` module
- `InProcessClient.InProcessSourceKitLSPClient`
- `LanguageServerProtocolJSONRPC` (I would like to create a more ergonomic API for this like `InProcessSourceKitLSPClient` in the future, but for now, we’ll leave it public)

Unfortunately, our pattern of marking functions as `@_spi(Testing) public` no longer works with the `package` access level because declarations at the `package` access level cannot be marked as SPI. I have decided to just mark these functions as `package`. Alternatives would be:
- Add an underscore to these functions, like we did for functions exposed for testing before the introduction of `SPI`
- Use `@testable` import in the test targets and mark the methods as `internal`

Resolves #1315
rdar://128295618
2024-07-19 09:54:30 -07:00
Alex Hoppen
f4ea614be6 Set prioritizeKeepingFunctionOutputTogether in .swift-format 2024-07-02 11:06:35 +02:00
Alex Hoppen
7e7df04b48 Make the SourceKitLSP module build in Swift 6 mode
Swift 6 mode didn’t find any notable data races. But it’s good to know Swift 6 will prevent future ones.
2024-05-13 21:28:42 -07:00
Gremlinflat
cd4f7c9694 lint 2024-03-28 06:07:50 +07:00
Gremlinflat
b11ad16590 fix: fix mistyped line 2024-03-27 23:35:00 +07:00
Gremlinflat
f97e41bfd0 feat: add mergingTokens overloading method 2024-03-27 23:25:11 +07:00
Gremlinflat
45d24a86f5 chore: fix typo on copyright 2024-03-26 15:27:28 +07:00
Gremlinflat
cae8a8b1c7 lint: fix formatting 2024-03-26 06:24:06 +07:00
Gremlinflat
f392e2ffe3 feat: clean up & finish all todo 2024-03-26 01:07:41 +07:00
Gremlinflat
315fff84f8 feat: add SyntaxHighlightingTokens wrapper struct 2024-03-25 23:43:45 +07:00