Skip to content

Add support for deferred, type-safe references#181

Open
HT154 wants to merge 4 commits into
apple:mainfrom
HT154:reference-t
Open

Add support for deferred, type-safe references#181
HT154 wants to merge 4 commits into
apple:mainfrom
HT154:reference-t

Conversation

@HT154

@HT154 HT154 commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@HT154 HT154 force-pushed the reference-t branch 6 times, most recently from 07bc930 to c84cfbe Compare April 14, 2026 00:58
import org.pkl.intellij.type.TypeParameterBindings
import org.pkl.intellij.type.toType

class PklReferenceQualifiedAccessProxy(private val myName: String, val referent: PklType, val myProject: Project) :

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a fake set of nodes that stubs out just enough to satisfy autocomplete, type checking, and hover docs!

@HT154 HT154 marked this pull request as ready for review April 14, 2026 01:00
@HT154 HT154 force-pushed the reference-t branch 2 times, most recently from 48444f6 to 3b72422 Compare May 4, 2026 23:14
@HT154 HT154 force-pushed the reference-t branch 3 times, most recently from d142d10 to cf7fd63 Compare May 15, 2026 23:38
@HT154 HT154 changed the title Add support for Reference<T> Add support for deferred, type-safe references May 19, 2026
@HT154 HT154 force-pushed the reference-t branch 3 times, most recently from 52ec5c6 to 036a585 Compare May 19, 2026 17:52
@HT154 HT154 force-pushed the reference-t branch 2 times, most recently from 918a448 to 36508dc Compare May 22, 2026 00:32
* Make cmd + click go to original property definition
* Show multiple targets in the case of union types
* Show hover docs for original property definition
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.

2 participants