# How should I use Revise.jl (and other developer tools) to develop a package?

**URL:** <https://discourse.julialang.org/t/how-should-i-use-revise-jl-and-other-developer-tools-to-develop-a-package/101344>\
**Category:** General Usage\
**Tags:** question, package, development\
**Created:** [July 8, 2023, 5:23am UTC](https://discourse.julialang.org/t/how-should-i-use-revise-jl-and-other-developer-tools-to-develop-a-package/101344 "2023-07-08T05:23:45Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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:50pm UTC](https://discourse.julialang.org/t/how-should-i-use-revise-jl-and-other-developer-tools-to-develop-a-package/101344/17 "2023-07-08T20:50:44Z")

</div>

> [@algunion](#):
>
> VS Code with Julia support does not provide intellisense/auto-completion for the package I am writing the tests for.

I concur with your diagnosis @algunion, see my investigation here:

> [@For which packages does VSCode autocomplete work?](https://discourse.julialang.org/t/for-which-packages-does-vscode-autocomplete-work/101360/4):
>
> 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 there is a using MyDependency statement at the top of my file my file is in src/ and included in the module MyPackage (which also contains the using MyDependency statement) never works…

I think if @kellertuer is correct I will switch to `pkg> dev`-ing the package I develop in a shared environment. However I discovered that this has issues too:

> [@Cannot \`pkg\> dev .\` a package with extensions inside a shared environment?](https://discourse.julialang.org/t/cannot-pkg-dev-a-package-with-extensions-inside-a-shared-environment/101363):
>
> Following a [recent discussion on dev environments](https://discourse.julialang.org/t/how-should-i-use-revise-jl-and-other-developer-tools-to-develop-a-package/101344/13), I tried this new workflow of using a shared environment. But when I used pkg\> dev . on a locally downloaded package with extensions (aka weakdeps, introduced in Julia 1.9), this failed spectacularly. See here for a reproducible example with a lightweight package of mine called HiddenMarkovModels.jl: [https://asciinema.org/a/595665](https://asciinema.org/a/595665) The error is the following one (HMMBase.jl is a weakdep of HiddenMarkovModels.jl): ERROR: `HiddenMarkovModels=8…

---

_[View the full topic](https://discourse.julialang.org/t/how-should-i-use-revise-jl-and-other-developer-tools-to-develop-a-package/101344)._
