-
Notifications
You must be signed in to change notification settings - Fork 325
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
swiftlang/swift#67613 added cursor info support to be able to inspect the type of a literal using Hover. This also implicitly added jump-to-definition support for those literals, which probably isn’t useful in most cases and causes issues. We should probably suppress jump-to-definition for literals either by:
- Looking at the syntax tree of Swift files and not returning jump-to-definition if the requested position is a literal
- Adding a field to the sourcekitd response for literals that can be picked up by SourceKit-LSP to suppress jump-to-definition for it.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers