-
Notifications
You must be signed in to change notification settings - Fork 16
Implement textDocument/references request and response for the language server #4
Comments
I'm working on this right now. @RLovelett How did you generate that output? Did you run a sourcekitten command? |
This is actually output from Xcode itself showing the communication between Xcode and SourceKit (not to be confused with sourcekitten). To get this output I launched Xcode from my terminal and set the appropriate So the full command that I used looked something like this:
Then I just read through the logs until I found what I was looking for. The the best SourceKit tools are not bundled with Swift and are only available if you build from source. They are Good luck and happy coding! |
Thanks for showing how to get the logs 🙇
I get
I get The phrase Do you know if Xcode ships with these additional features that the open-source SourceKit doesn't ship with? I'll be digging into the source code of SourceKit to see if there's an alternative to |
I do not but it would not shock me at all if they did. Are you getting |
I'm on Xcode 9.4 (9F1027a) which appears to be the latest I also did a GitHub indexes all master-branch commit messages (not diffs), and the file contents of the tip of master (not any older commits, and no other branches). I'll see about talking to some folks at Apple about this next week if I can, and I'll report back. |
SourceKit
textdocument-references.txt
The text was updated successfully, but these errors were encountered: