# LSP "Missing reference" woes

**URL:** <https://discourse.julialang.org/t/lsp-missing-reference-woes/98231>\
**Category:** General Usage\
**Created:** [May 3, 2023, 4:03am UTC](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231 "2023-05-03T04:03:40Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![wangfh5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wangfh5/32/204858_2.png) [@wangfh5](https://discourse.julialang.org/u/wangfh5)\
**Post date:** [September 14, 2024, 9:47am UTC](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231/22 "2024-09-14T09:47:51Z")

</div>

Thank you for sharing this trick. I wish to note that if the script has been “virtually” included in `src/Example.jl`, it cannot use any packages other than those that `Examples.jl` depends on.

---

<div class="post-metadata">

**Author:** ![George9000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/george9000/32/23619_2.png) [@George9000](https://discourse.julialang.org/u/George9000)\
**Post date:** [March 8, 2025, 4:00am UTC](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231/23 "2025-03-08T04:00:06Z")

</div>

Thank you. This saved me too. I’m using the helix editor + LSP and ran into the same issues reported here. The `@static` hack worked. So this issue is not editor specific; rather, it is an LSP issue.

[Previous page](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231.md?page=1)
