# For which packages does VSCode autocomplete work?

**URL:** <https://discourse.julialang.org/t/for-which-packages-does-vscode-autocomplete-work/101360>\
**Category:** VS Code\
**Tags:** intellisense, autocomplete\
**Created:** [July 8, 2023, 7:17pm UTC](https://discourse.julialang.org/t/for-which-packages-does-vscode-autocomplete-work/101360 "2023-07-08T19:17:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [July 8, 2023, 8:27pm UTC](https://discourse.julialang.org/t/for-which-packages-does-vscode-autocomplete-work/101360/4 "2023-07-08T20:27:24Z")

</div>

Let’s say I’m developing a package called `MyPackage` and I have activated its `Project.toml`. It has one dependency called `MyDependency`, and one test depency called `MyTestDependency`.

After some exploration, it seems that IntelliSense…

- works for `MyDependency` if either one of the following conditions is satisfied
  1. there is a `using MyDependency` statement at the top of my file
  2. my file is in `src/` and `include`d in the module `MyPackage` (which also contains the `using MyDependency` statement)

- never works for `MyTestDependency`
- never works for `MyPackage`

Did I get that right?

---

_[View the full topic](https://discourse.julialang.org/t/for-which-packages-does-vscode-autocomplete-work/101360)._
