23 Commits

Author SHA1 Message Date
Jake Petroules 7a8aaea437 Update minimum macOS version to v15
We need to raise the minimum deployment target so that SwiftPM and Swift Build are unblocked from doing so.
2026-05-06 18:54:19 -04:00
Josh Arnold 668aab32ac Support custom preparationBatchSize defined via SourceKit's options 2025-12-03 13:37:25 -06:00
Alex Hoppen 65d84ffd72 Add comment that SourceKit-LSP needs to be restarted when configuration file is modified
Motivated by https://forums.swift.org/t/is-a-restart-needed-after-a-change-to-config-json/83022
2025-11-05 08:52:18 +01:00
Alex Hoppen 95538e7de9 Migrate appendingPathComponent to appending(component:)
`appending(component:)` is the more modern API and can take multiple path components at the same time.
2025-09-23 16:57:56 +02:00
Alex Hoppen 98cd30bb1c Apply exhaustive swift-format configuration from swift-syntax
Apply the exhaustive swift-format configuration from https://github.com/swiftlang/swift-syntax/pull/3117 to sourcekit-lsp. Also apply all automatic formattings.
2025-08-11 09:23:39 +02:00
Alex Hoppen 5fba1699bd Generalize PollIndexRequest and BarrierRequest into a single SynchronizeRequest
This new request also allows us to wait for build system updates without waiting for background indexing to finish.
2025-03-12 14:25:50 -07:00
Alex Hoppen 2305dfab7a Don't escape slashes in various JSONEncoders
This makes the JSON easier to work with, especially for paths.
2025-03-03 07:55:09 -08:00
Alex Hoppen 4ec669f834 Hide internal options from SourceKit-LSP configuration file documentation 2025-02-17 13:09:05 -08:00
Yuta Saito 20b967ccd2 Support SWIFTCI_USE_LOCAL_DEPS in SourceKitLSPDevUtils
Checkout the dependencies from the local path if SWIFTCI_USE_LOCAL_DEPS
2024-12-21 16:50:27 +00:00
Yuta Saito 6803d8c4da Address code style feedbacks 2024-12-15 14:29:53 +09:00
Yuta Saito 185438c7c3 swift-format -i -r SourceKitLSPDevUtils/Sources 2024-12-09 02:12:19 +09:00
Yuta Saito e49558984e Fix markdownEnumDescriptions encoding for JSON Schema
The `markdownEnumDescriptions` field in JSON Schema is supposed to be an
array of descriptions but was incorrectly encoded as a dictionary.
2024-12-09 02:12:19 +09:00
Yuta Saito 90dc733542 Keep the original order of privacyLevel enum cases 2024-12-09 02:12:19 +09:00
Yuta Saito c106f5c139 Fix formatting of ./SourceKitLSPDevUtils 2024-12-09 02:12:19 +09:00
Yuta Saito 2778a19af6 Use representedLiteralValue to get the string value of a string literal 2024-12-09 02:12:19 +09:00
Yuta Saito 6aaa0568ef Throw errors instead of using fatalError 2024-12-09 02:12:19 +09:00
Yuta Saito 1847dc703f Rename OptionTypeSchama.Object to Struct 2024-12-09 02:12:19 +09:00
Yuta Saito aa7be46425 Fix the scope building for type declarations 2024-12-09 02:12:19 +09:00
Yuta Saito d3ad33424e Address code-style feedback 2024-12-09 02:12:19 +09:00
Yuta Saito 864af4d329 Add verify-config-schema command to sourcekit-lsp-dev-utils 2024-12-09 02:12:19 +09:00
Yuta Saito e3997540e0 Add ./sourcekit-lsp-dev-utils script 2024-12-09 02:12:19 +09:00
Yuta Saito 2c403e78ae Add copyright headers to new files 2024-12-09 02:12:19 +09:00
Yuta Saito 62c4d26ba1 Make ConfigSchemaGen as a subcommand of sourcekit-lsp-dev-utils 2024-12-09 02:12:19 +09:00