-
Hi there, I'm making good progress on my DSL and now tackling some remaining issues inside of VSCode. Just a bit of background, my DSL involves a standard library, which I ship with the VSCode extension as a separate text file. To load it, I extended This all works fine until I Cmd+Hover a reference to stdlib (which seems to trigger DefinitionProvider). It seems the document is reparsed, relinked, and revalidated, but without including my standard library, so now all references become unresolved. I double-confirmed this by subclassing DefinitionProvider and always returning I'm on version 0.5.0. Is this a known issue? Let me know if a repro is needed, but hopefully, you already have something in your mind 😄. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hey @ymc9, I haven't seen that behavior yet, so nothing that comes to mind on how to easily fix that. I'm kind of confused by the behavior, as builtin libraries shouldn't be reparsed at all. A reproducible example would be great, I'd be interested in looking into that. Before that, you can take a look at this change which introduces a builtin library guide to our website. Maybe there's already something in there which fixes your issue. |
Beta Was this translation helpful? Give feedback.
Hey @ymc9,
I haven't seen that behavior yet, so nothing that comes to mind on how to easily fix that. I'm kind of confused by the behavior, as builtin libraries shouldn't be reparsed at all. A reproducible example would be great, I'd be interested in looking into that.
Before that, you can take a look at this change which introduces a builtin library guide to our website. Maybe there's already something in there which fixes your issue.