# VS Code constant pain point

**URL:** https://discourse.julialang.org/t/vs-code-constant-pain-point/77388
**Category:** General Usage
**Tags:** vscode
**Created:** [March 4, 2022, 3:07am UTC](https://discourse.julialang.org/t/vs-code-constant-pain-point/77388 "2022-03-04T03:07:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [March 4, 2022, 3:07am UTC](https://discourse.julialang.org/t/vs-code-constant-pain-point/77388/1 "2022-03-04T03:07:38Z")

</div>

I like a lot of things about Julia in VS Code, but one thing where it constantly falls short is  
lookup of symbols defined in user packages. Standard-library code is fine  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/d/5d0aa6317bc6e15198bb2fcd42e2232e680785d2.png)  
but the user code is always a problem  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/3/53eacaff880258798dba56c92478ae04624f1fa3.png)  
As the status shows, the `meshboundary` function defined in `FinEtools`  
_should_ be available, but isn’t.  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/f/1f4e140267fb6145217fbc896470db8be477313b.png)

- Is this actually working for anyone at this point? I mean the lookup of symbols in user packages?
- I recently discovered that this was not possible for packages that were developed. But my understanding was that this should work for packages which are added to the project. Am I wrong?
- Is there some way in which I can check the list of symbols that are currently available?

Latest everything: editor, extension, Julia. On Windows.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [March 4, 2022, 3:44am UTC](https://discourse.julialang.org/t/vs-code-constant-pain-point/77388/2 "2022-03-04T03:44:46Z")

</div>

Update: I have previously tried, repeatedly, to shutdown Julia REPL. That did not help.  
But then I shut down the editor and restarted, and voila, the symbols are back.  
So something died and needed restarting. Any idea what that might have been?

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)
#### Post date: [March 4, 2022, 5:53am UTC](https://discourse.julialang.org/t/vs-code-constant-pain-point/77388/3 "2022-03-04T05:53:44Z")

</div>

You have to check that the correct environment is selected in the toolbar at the bottom. To me it often happens that this for some reason differs from the currently activated env. It should usually be set to the env in the current working directory when starting up, that could be why a restart helped.

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [March 4, 2022, 10:15am UTC](https://discourse.julialang.org/t/vs-code-constant-pain-point/77388/4 "2022-03-04T10:15:45Z")

</div>

Isn’t this just another instance of [LanguageServer does not index active project/package (julia-vscode/LanguageServer.jl#988)](https://github.com/julia-vscode/LanguageServer.jl/issues/988) ? Xref [your post from some days ago](https://discourse.julialang.org/t/vs-code-no-implementation-found-in-developed-package/77198/).

Thats at least the only problem I have seen myself using LS from vim.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [March 4, 2022, 2:26pm UTC](https://discourse.julialang.org/t/vs-code-constant-pain-point/77388/5 "2022-03-04T14:26:58Z")

</div>

No, I don’t think so. Here, the symbols were not visible in `add`ed packages. Previously, I could not get it to work with `dev`ed packages, but `add`ing the package fixed the problem.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [March 4, 2022, 2:43pm UTC](https://discourse.julialang.org/t/vs-code-constant-pain-point/77388/6 "2022-03-04T14:43:19Z")

</div>

No, the environment was correct.
