# 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:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![g-gundam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/g-gundam/32/47593_2.png) [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Post date:** [September 24, 2023, 8:03pm UTC](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231/17 "2023-09-24T20:03:27Z")

</div>

@ffevotte - That `@static if false` trick worked for me in Emacs, and I wanted to thank you for sharing that. However, I wish there were a better way that didn’t involve tricking the LSP server. For example, I wish I could tell the LSP server that all Julia files in the `bin/` directory are part of the project and should be able to see the current package.

---

_[View the full topic](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231)._
