Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support semantic functionality in generated interfaces if the client supports getReferenceDocument #1887

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Dec 13, 2024

This allows us to provide semantic functionality inside the generated interfaces, such as hover or jump-to-definition.

Fixes #1155
rdar://125663597

@ahoppen
Copy link
Member Author

ahoppen commented Dec 13, 2024

@swift-ci Please test

Copy link
Contributor

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Sources/SourceKitLSP/Swift/GeneratedInterfaceManager.swift Outdated Show resolved Hide resolved
Tests/SourceKitLSPTests/SwiftInterfaceTests.swift Outdated Show resolved Hide resolved
…supports `getReferenceDocument`

This allows us to provide semantic functionality inside the generated interfaces, such as hover or jump-to-definition.

rdar://125663597
@ahoppen ahoppen force-pushed the generated-interface-reference-document branch from 449a38a to fa42c21 Compare December 13, 2024 18:53
@ahoppen
Copy link
Member Author

ahoppen commented Dec 13, 2024

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Dec 13, 2024

@swift-ci Please test Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigation in generated .swiftinterface files
2 participants