Repository navigation
Fix Kotlin class references without a language server - #52
Merged
Merged
Conversation
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clicking a Kotlin class such as
LeaveAllowancestill fell back to text search without an external language server: the existing built-in resolver only understood same-file properties, functions and parameters.Add bounded Kotlin type lookup across repository source files. It follows packages, explicit and aliased imports, qualified names and a single wildcard scope. It keeps unrelated same-named types and lexical shadows separate, respects file-private declarations, and leaves duplicate declarations (including KMP expect/actual pairs) ambiguous. PNGs and other non-Kotlin files do not consume the source budget. Fallback messages now also explain the built-in lookup's limits.
This provides syntax candidates, not compiler or Gradle resolution. Dependency sources, receiver inference, nested/local types and KMP source-set selection still need a project-aware provider; incomplete parsing and scan limits remain visible.
Validation:
LeaveAllowanceat its declaration and 30 reference locations. The live tour was not changed or restarted.