# \#sourcekit-lsp

**URL:** https://forums.swift.org/tag/sourcekit-lsp/257.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Wrong response to Semantic Tokens request in Swift 6.4](https://forums.swift.org/t/wrong-response-to-semantic-tokens-request-in-swift-6-4/89584)

<div class="topic-metadata">

**Author:** [@dima\_kozhinov](https://forums.swift.org/u/dima_kozhinov)\
**Replies:** 8\
**Last updated:** [September 21, 2026, 9:19am UTC](https://forums.swift.org/t/wrong-response-to-semantic-tokens-request-in-swift-6-4/89584 "2026-09-21T09:19:56Z")

</div>

Hi all, I am working on a custom editor that uses sourcekit-lsp for syntax highlighting. Here is how it works: My editor sends the textDocument/semanticTokens/full request to sourcekit-lsp and receives a response contai…

---

## [Sourcekit-xcode-bsp — Build Server Protocol support for native Xcode projects](https://forums.swift.org/t/sourcekit-xcode-bsp-build-server-protocol-support-for-native-xcode-projects/88897)

<div class="topic-metadata">

**Author:** [@silentswordfish](https://forums.swift.org/u/silentswordfish)\
**Replies:** 1\
**Last updated:** [September 20, 2026, 6:51pm UTC](https://forums.swift.org/t/sourcekit-xcode-bsp-build-server-protocol-support-for-native-xcode-projects/88897 "2026-09-20T18:51:13Z")

</div>

Hi everyone! We are releasing sourcekit-xcode-bsp — an open-source (Apache 2.0) Build Server Protocol server that brings native Swift code intelligence to Xcode projects (.xcodeproj/.xcworkspace) in any LSP-capable edito…

---

## [Why sourcekit-lsp.exe consumes so much CPU even when idle?](https://forums.swift.org/t/why-sourcekit-lsp-exe-consumes-so-much-cpu-even-when-idle/70140)

<div class="topic-metadata">

**Author:** [@dima\_kozhinov](https://forums.swift.org/u/dima_kozhinov)\
**Replies:** 20\
**Last updated:** [September 15, 2026, 3:48pm UTC](https://forums.swift.org/t/why-sourcekit-lsp-exe-consumes-so-much-cpu-even-when-idle/70140 "2026-09-15T15:48:25Z")

</div>

Hello everyone, My Windows app uses sourcekit-lsp. It processes requests from my app. There are not many requests, and if there is no input from the user in my app, there are no requests at all (I checked, my applicatio…

---

## [Sourcekit-lsp xcframework binary target](https://forums.swift.org/t/sourcekit-lsp-xcframework-binary-target/86962)

<div class="topic-metadata">

**Author:** [@talmeme](https://forums.swift.org/u/talmeme)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 9:46am UTC](https://forums.swift.org/t/sourcekit-lsp-xcframework-binary-target/86962 "2026-05-29T09:46:12Z")

</div>

Hi all. I'm on macOS Tahoe, using MacVim with sourcekit-lsp. I have a Swift CLI project that uses llama.cpp. I've pre-built llama.xcframework (part of llama.cpp) and refer to it as a binary target in my CLI's Package.…

---

## [\[GSoC 2026\]: DocC Language Features in SourceKit-LSP](https://forums.swift.org/t/gsoc-2026-docc-language-features-in-sourcekit-lsp/85142)

<div class="topic-metadata">

**Author:** [@amanmrya](https://forums.swift.org/u/amanmrya)\
**Replies:** 1\
**Last updated:** [March 5, 2026, 11:04am UTC](https://forums.swift.org/t/gsoc-2026-docc-language-features-in-sourcekit-lsp/85142 "2026-03-05T11:04:29Z")

</div>

Hi everyone, I’m interested in working on the DocC Language Features in SourceKit-LSP GSoC idea and have started exploring the current implementation in Sourcekit-LSP. From my understanding, DocC Live Preview is curren…

---

## [Draft Proposal for GSOC 2026. ( inline function )](https://forums.swift.org/t/draft-proposal-for-gsoc-2026-inline-function/84780)

<div class="topic-metadata">

**Author:** [@loveucifer](https://forums.swift.org/u/loveucifer)\
**Replies:** 8\
**Last updated:** [March 4, 2026, 6:23am UTC](https://forums.swift.org/t/draft-proposal-for-gsoc-2026-inline-function/84780 "2026-03-04T06:23:21Z")

</div>

Hi! I'm Govind(loveucifer), i wanted to discuss an idea for my proposal for gsoc 2026 i think when we are refactoring Swift code, we frequently need to inline a function — replacing a call site with the function's body.…

---

## [Moving a project results in "Internal SourceKit error: Loading the standard library failed"](https://forums.swift.org/t/moving-a-project-results-in-internal-sourcekit-error-loading-the-standard-library-failed/83880)

<div class="topic-metadata">

**Author:** [@ksluder](https://forums.swift.org/u/ksluder)\
**Replies:** 2\
**Last updated:** [January 3, 2026, 1:11pm UTC](https://forums.swift.org/t/moving-a-project-results-in-internal-sourcekit-error-loading-the-standard-library-failed/83880 "2026-01-03T13:11:23Z")

</div>

I’ve been trying out Nova with SourceKit-LSP (via the official Icarus extension) for the past week or so. It’s mostly been fine, but today I’m getting an error: Internal SourceKit error: error response (Request Failed): …

---

## [\`monocle\` - a CLI for coding agents to inspect Swift symbols via SourceKit-LSP](https://forums.swift.org/t/monocle-a-cli-for-coding-agents-to-inspect-swift-symbols-via-sourcekit-lsp/83615)

<div class="topic-metadata">

**Author:** [@SwiftedMind](https://forums.swift.org/u/SwiftedMind)\
**Replies:** 0\
**Last updated:** [December 8, 2025, 7:34pm UTC](https://forums.swift.org/t/monocle-a-cli-for-coding-agents-to-inspect-swift-symbols-via-sourcekit-lsp/83615 "2025-12-08T19:34:00Z")

</div>

Hey, I’ve been hacking on a small tool called monocle and thought I’d share it in case it’s useful for anyone working with coding agents like Codex or Claude Code. monocle is a thin wrapper around SourceKit‑LSP. Given …

---

## [mainActor isolation in sourcekit-lsp](https://forums.swift.org/t/mainactor-isolation-in-sourcekit-lsp/83158)

<div class="topic-metadata">

**Author:** [@wombat](https://forums.swift.org/u/wombat)\
**Replies:** 2\
**Last updated:** [November 13, 2025, 1:55am UTC](https://forums.swift.org/t/mainactor-isolation-in-sourcekit-lsp/83158 "2025-11-13T01:55:37Z")

</div>

I’ve been trying to do some SwiftUI development with Visual Studio Code and it has been a surprisingly pleasant experience. It was all going well until I upped the target to Swift 6.0 in my project. Although my project b…

---

## [Code suggestions are not as good as they used to be](https://forums.swift.org/t/code-suggestions-are-not-as-good-as-they-used-to-be/82756)

<div class="topic-metadata">

**Author:** [@dima\_kozhinov](https://forums.swift.org/u/dima_kozhinov)\
**Replies:** 8\
**Last updated:** [October 21, 2025, 2:14pm UTC](https://forums.swift.org/t/code-suggestions-are-not-as-good-as-they-used-to-be/82756 "2025-10-21T14:14:46Z")

</div>

I use my own custom editor for Swift development, and I started to have a feeling that code suggestions in later versions of Swift have lost their telepathic magic of older versions. To check if that is only a false feel…

---

## [Warn When Member Access Level Exceeds Enclosing Type](https://forums.swift.org/t/warn-when-member-access-level-exceeds-enclosing-type/82446)

<div class="topic-metadata">

**Author:** [@artemkalinovsky](https://forums.swift.org/u/artemkalinovsky)\
**Replies:** 15\
**Last updated:** [October 5, 2025, 1:23pm UTC](https://forums.swift.org/t/warn-when-member-access-level-exceeds-enclosing-type/82446 "2025-10-05T13:23:45Z")

</div>

Introduction It’d be nice to have compiler warnings and errors for redundant access control modifiers when a member's declared access level exceeds its enclosing type's effective access level. In Swift's access control m…

---

## [Can sourcekit-lsp change language mode on the fly?](https://forums.swift.org/t/can-sourcekit-lsp-change-language-mode-on-the-fly/82447)

<div class="topic-metadata">

**Author:** [@dima\_kozhinov](https://forums.swift.org/u/dima_kozhinov)\
**Replies:** 2\
**Last updated:** [October 1, 2025, 4:38pm UTC](https://forums.swift.org/t/can-sourcekit-lsp-change-language-mode-on-the-fly/82447 "2025-10-01T16:38:17Z")

</div>

I'm working on integrating sourcekit-lsp into my editor, and here is the problem: If a user of my editor changes Swift language mode, strict concurrency checking, c++ interoperability or any other project setting that af…

---

## [\[GSoC 2025\] Improve the display of documentation during code completion in SourceKit-LSP](https://forums.swift.org/t/gsoc-2025-improve-the-display-of-documentation-during-code-completion-in-sourcekit-lsp/81976)

<div class="topic-metadata">

**Author:** [@a7medev](https://forums.swift.org/u/a7medev)\
**Replies:** 3\
**Last updated:** [September 11, 2025, 4:42pm UTC](https://forums.swift.org/t/gsoc-2025-improve-the-display-of-documentation-during-code-completion-in-sourcekit-lsp/81976 "2025-09-11T16:42:26Z")

</div>

Hi everyone! This is Ahmed Elrefaey, I’m excited to share with you an update on my GSoC project, Improve the display of documentation during code completion in SourceKit-LSP, mentored by @hamishknight. Project Goals Th…

---

## [Compiler flags for SwiftPM source & binary packages in Xcode](https://forums.swift.org/t/compiler-flags-for-swiftpm-source-binary-packages-in-xcode/81899)

<div class="topic-metadata">

**Author:** [@shishawn](https://forums.swift.org/u/shishawn)\
**Replies:** 0\
**Last updated:** [September 1, 2025, 6:51am UTC](https://forums.swift.org/t/compiler-flags-for-swiftpm-source-binary-packages-in-xcode/81899 "2025-09-01T06:51:27Z")

</div>

What compiler flags should be passed for SPM source & binary packages in Xcode when driving SourceKit-LSP via BSP? Tags: SourceKit-LSP, SwiftPM, BSP, Xcode Context I’m building a BSP server to drive SourceKit-LSP for X…

---

## [Incremental Build and LSP Updates](https://forums.swift.org/t/incremental-build-and-lsp-updates/81778)

<div class="topic-metadata">

**Author:** [@shoplab](https://forums.swift.org/u/shoplab)\
**Replies:** 2\
**Last updated:** [August 29, 2025, 10:10am UTC](https://forums.swift.org/t/incremental-build-and-lsp-updates/81778 "2025-08-29T10:10:25Z")

</div>

In some of the WWDC videos, I believe there was mention of upcoming improvements to the VSCode extension and LSP, particularly around better support for incremental builds. Did I understand that correctly? And if so, are…

---

## [Any advice for a SourceKit-LSP bottleneck using the Build Server Protocol?](https://forums.swift.org/t/any-advice-for-a-sourcekit-lsp-bottleneck-using-the-build-server-protocol/81673)

<div class="topic-metadata">

**Author:** [@josh2](https://forums.swift.org/u/josh2)\
**Replies:** 2\
**Last updated:** [August 24, 2025, 2:00pm UTC](https://forums.swift.org/t/any-advice-for-a-sourcekit-lsp-bottleneck-using-the-build-server-protocol/81673 "2025-08-24T14:00:47Z")

</div>

Hello! I am using a Bazel build system, specifically this build-server (GitHub - spotify/sourcekit-bazel-bsp: iOS Development (and more) in alternative IDEs like Cursor / VSCode, for Bazel projects) with SourceKit-LSP. …

---

## [Strange errors from SourceKit-LSP in fresh Objective-C project](https://forums.swift.org/t/strange-errors-from-sourcekit-lsp-in-fresh-objective-c-project/80593)

<div class="topic-metadata">

**Author:** [@NSExceptional](https://forums.swift.org/u/NSExceptional)\
**Replies:** 3\
**Last updated:** [July 3, 2025, 12:43am UTC](https://forums.swift.org/t/strange-errors-from-sourcekit-lsp-in-fresh-objective-c-project/80593 "2025-07-03T00:43:26Z")

</div>

In a mostly fresh objc project (no settings tweaked, only added a Person class) I get these strange errors at the very top of each .m file: No such file or directory: '/Users/tanner/Library/Developer/Xcode/DerivedData/M…

---

## [Swift Development using NeoVim](https://forums.swift.org/t/swift-development-using-neovim/69671)

<div class="topic-metadata">

**Author:** [@bengidev](https://forums.swift.org/u/bengidev)\
**Replies:** 24\
**Last updated:** [May 23, 2025, 3:27pm UTC](https://forums.swift.org/t/swift-development-using-neovim/69671 "2025-05-23T15:27:57Z")

</div>

Hello, i'm struggling to try setup my Swift environment inside NeoVim. I've try here and there but none of them works, like show code completions/suggestions inside UIKit or SwiftUI project based. This is my current lsp…

---

## [Multiple BSP connections](https://forums.swift.org/t/multiple-bsp-connections/79740)

<div class="topic-metadata">

**Author:** [@shishawn](https://forums.swift.org/u/shishawn)\
**Replies:** 2\
**Last updated:** [May 8, 2025, 6:28am UTC](https://forums.swift.org/t/multiple-bsp-connections/79740 "2025-05-08T06:28:52Z")

</div>

Hi! Does SourceKit currently support multiple BSP connections? According to the BSP documentation, it seems that SourceKit should be able to accept multiple server config files under ./\<rootDir\>/.bsp/, but this doesn’t …

---

## [BSP integration - ambiguity in compilerArguments format](https://forums.swift.org/t/bsp-integration-ambiguity-in-compilerarguments-format/79689)

<div class="topic-metadata">

**Author:** [@lukascap](https://forums.swift.org/u/lukascap)\
**Replies:** 3\
**Last updated:** [May 7, 2025, 7:12am UTC](https://forums.swift.org/t/bsp-integration-ambiguity-in-compilerarguments-format/79689 "2025-05-07T07:12:45Z")

</div>

I've been working on a BSP to integrate with the LSP and noticed a strange ambiguity, specifically whether to include the compiler itself as the first argument in TextDocumentSourceKitOptionsResponse.compilerArguments. I…

---

## [How to use Background Indexing in sourcekit-lsp?](https://forums.swift.org/t/how-to-use-background-indexing-in-sourcekit-lsp/79497)

<div class="topic-metadata">

**Author:** [@dima\_kozhinov](https://forums.swift.org/u/dima_kozhinov)\
**Replies:** 3\
**Last updated:** [April 25, 2025, 4:10pm UTC](https://forums.swift.org/t/how-to-use-background-indexing-in-sourcekit-lsp/79497 "2025-04-25T16:10:39Z")

</div>

The sourcekit-lsp documentation at sourcekit-lsp/Documentation/Enable Experimental Background Indexing.md at main · swiftlang/sourcekit-lsp · GitHub says: Background indexing in SourceKit-LSP is enabled by default in …

---

## [Enhancing Code Completion Documentation in SourceKit-LSP](https://forums.swift.org/t/enhancing-code-completion-documentation-in-sourcekit-lsp/78992)

<div class="topic-metadata">

**Author:** [@qursam45](https://forums.swift.org/u/qursam45)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 4:36pm UTC](https://forums.swift.org/t/enhancing-code-completion-documentation-in-sourcekit-lsp/78992 "2025-04-07T16:36:22Z")

</div>

Name: Qursam Bibi University: University of Lahore (2nd Year, Information Engineering Technology) Skills: C++ (strong DSA background), Swift, TypeScript (basic), familiarity with LSP As a developer passionate about im…

---

## [\[GSoC 2025\] Improvement of code completion documentation in SourceKit-LSP](https://forums.swift.org/t/gsoc-2025-improvement-of-code-completion-documentation-in-sourcekit-lsp/78224)

<div class="topic-metadata">

**Author:** [@akshitsinha](https://forums.swift.org/u/akshitsinha)\
**Replies:** 7\
**Last updated:** [March 21, 2025, 9:12pm UTC](https://forums.swift.org/t/gsoc-2025-improvement-of-code-completion-documentation-in-sourcekit-lsp/78224 "2025-03-21T21:12:13Z")

</div>

Hey! I wanted to express my interest in joining GSoC with Swift this year. I'm particularly interested in the topic of improving the display of documentation during code completion in SourceKit-LSP with @ahoppen I have …

---

## [VSCode: Bridging headers with Intellisense in simple Embedded Project](https://forums.swift.org/t/vscode-bridging-headers-with-intellisense-in-simple-embedded-project/78470)

<div class="topic-metadata">

**Author:** [@MisutaaAsriel](https://forums.swift.org/u/MisutaaAsriel)\
**Replies:** 2\
**Last updated:** [March 13, 2025, 2:17pm UTC](https://forums.swift.org/t/vscode-bridging-headers-with-intellisense-in-simple-embedded-project/78470 "2025-03-13T14:17:06Z")

</div>

Hey, I'm wanting to experiment with Embedded Swift, and the device I am targeting uses an SDK that relies on makefiles. Basing my project structure off a similar project using Embedded Swift, on a similar platform, which…

---

## [Getting LSP Functionality for only some Targets](https://forums.swift.org/t/getting-lsp-functionality-for-only-some-targets/77506)

<div class="topic-metadata">

**Author:** [@bbrk24](https://forums.swift.org/u/bbrk24)\
**Replies:** 5\
**Last updated:** [February 5, 2025, 12:57am UTC](https://forums.swift.org/t/getting-lsp-functionality-for-only-some-targets/77506 "2025-02-05T00:57:13Z")

</div>

The other day, I tried to open SwiftCrossUI in VS Code on a Linux box to test out some GTK-specific functionality. In short order I get errors from the Swift extension and notice that even the most basic LSP functionalit…

---

## [Sourcekit-lsp launched via terminal wont write index store db](https://forums.swift.org/t/sourcekit-lsp-launched-via-terminal-wont-write-index-store-db/77040)

<div class="topic-metadata">

**Author:** [@letsgoswifties](https://forums.swift.org/u/letsgoswifties)\
**Replies:** 5\
**Last updated:** [January 9, 2025, 8:37pm UTC](https://forums.swift.org/t/sourcekit-lsp-launched-via-terminal-wont-write-index-store-db/77040 "2025-01-09T20:37:59Z")

</div>

Hello, I am currently in a linux environment on a cloud machine. Currently, I'm just launching up sourcekit-lsp like this path1/path2/sourcekit-lsp -index-store-path path\_to\_index -index-db-path path\_to\_db \` Nothing ap…

---

## [How can I make use of Vapor and Fluent in neovim using LSP?](https://forums.swift.org/t/how-can-i-make-use-of-vapor-and-fluent-in-neovim-using-lsp/76292)

<div class="topic-metadata">

**Author:** [@TyrfingMjolnir](https://forums.swift.org/u/TyrfingMjolnir)\
**Replies:** 1\
**Last updated:** [November 30, 2024, 10:16am UTC](https://forums.swift.org/t/how-can-i-make-use-of-vapor-and-fluent-in-neovim-using-lsp/76292 "2024-11-30T10:16:54Z")

</div>

neovim specific LSP question; how come Fluent and Vapor are not part of the LSP? Do I need to register some sort of Vapor with LSP?

---

## [\[GSoC-2024\] Expansion of Swift Macros in Visual Studio Code (Detailed Post) - Lokesh.T.R (Alex Hoppen & Adam Fowler)](https://forums.swift.org/t/gsoc-2024-expansion-of-swift-macros-in-visual-studio-code-detailed-post-lokesh-t-r-alex-hoppen-adam-fowler/74163)

<div class="topic-metadata">

**Author:** [@lokeshtr](https://forums.swift.org/u/lokeshtr)\
**Replies:** 20\
**Last updated:** [October 18, 2024, 5:42pm UTC](https://forums.swift.org/t/gsoc-2024-expansion-of-swift-macros-in-visual-studio-code-detailed-post-lokesh-t-r-alex-hoppen-adam-fowler/74163 "2024-10-18T17:42:57Z")

</div>

Hello Everyone, I'm Lokesh.T.R from India. I'm a sophomore currently pursuing my bachelor's degree in Computer Science and Engineering in Vel Tech University, Chennai. I'm thrilled to share with you on what I have accom…

---

## [\[GSoC-2024\] Expansion of Swift Macros in Visual Studio Code - Lokesh.T.R (Alex Hoppen & Adam Fowler)](https://forums.swift.org/t/gsoc-2024-expansion-of-swift-macros-in-visual-studio-code-lokesh-t-r-alex-hoppen-adam-fowler/74165)

<div class="topic-metadata">

**Author:** [@lokeshtr](https://forums.swift.org/u/lokeshtr)\
**Replies:** 5\
**Last updated:** [September 18, 2024, 6:05am UTC](https://forums.swift.org/t/gsoc-2024-expansion-of-swift-macros-in-visual-studio-code-lokesh-t-r-alex-hoppen-adam-fowler/74165 "2024-09-18T06:05:03Z")

</div>

Hello Everyone, I'm Lokesh.T.R from India. I'm a sophomore currently pursuing my bachelor's degree in Computer Science and Engineering in Vel Tech University, Chennai. I'm thrilled to share with you on what I have accom…

---

## [Xcode Refactor Actions and VS Code Code Actions](https://forums.swift.org/t/xcode-refactor-actions-and-vs-code-code-actions/74073)

<div class="topic-metadata">

**Author:** [@mtsrodrigues](https://forums.swift.org/u/mtsrodrigues)\
**Replies:** 2\
**Last updated:** [August 20, 2024, 9:44pm UTC](https://forums.swift.org/t/xcode-refactor-actions-and-vs-code-code-actions/74073 "2024-08-20T21:44:01Z")

</div>

Digging the swiftlang repositories I've found two different groups of refactors actions: swift: swift/lib/Refactoring at main · swiftlang/swift · GitHub swift-syntax: swift-syntax/Sources/SwiftRefactor at main · swiftl…

[Next page](https://forums.swift.org/tag/sourcekit-lsp/257.md?match_all_tags=true&page=1&tags%5B%5D=sourcekit-lsp)
