# Revise Not Working with DrWatson Use Case

**URL:** <https://discourse.julialang.org/t/revise-not-working-with-drwatson-use-case/119360>\
**Category:** General Usage\
**Tags:** revise, drwatson\
**Created:** [September 13, 2024, 5:34am UTC](https://discourse.julialang.org/t/revise-not-working-with-drwatson-use-case/119360 "2024-09-13T05:34:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Post date:** [September 13, 2024, 5:34am UTC](https://discourse.julialang.org/t/revise-not-working-with-drwatson-use-case/119360/1 "2024-09-13T05:34:23Z")

</div>

Hello,

I am having an issue with Revise. I’ll lay out some context and hopefully that will help illustrate the problem.

Let’s say I have a package I am developing called `MyPackage`. Since I am developing it and frequently changing it, I add it to the current environment by doing `Pkg.develop(path="src/MyPackage/")`.

I also have a project setup using [DrWatson](https://juliadynamics.github.io/DrWatson.jl/stable/). I have a set of functions and variables I always wanted loaded so I follow the guidance discussed [here](https://juliadynamics.github.io/DrWatson.jl/stable/real_world/#Making-your-project-a-usable-module) on converting these files into a module.`MyPackage` is also part of this environment. So my project environment, lets called it `MyEnv`, looks like this

```julia
Status `~/projects/MyEnv/Project.toml`
⌃ [13f3f980] CairoMakie v0.11.4
⌃ [634d3b9d] DrWatson v2.15.0
  [f67ccb44] HDF5 v0.17.2
  [23992714] MAT v0.10.7
  [a7d1346e] MyPackage v0.4.0 `src/MyPackage.jl`
  [189a3867] Reexport v1.2.2
  [de0858da] Printf

```

And inside `src/MyEnv.jl` I have

```julia
module MyEnv

using Reexport, DrWatson, Printf
@reexport using HDF5, MyPackage, CairoMakie, Printf, MAT

# more code ...

```

At the top of all my analysis files within this project I do the following as described in the DrWatson docs (linked above).

```julia
using DrWatson
@quickactivate :MyEnv

```

The issue is the following. If I add a new method to `MyPackage` and update the `export` list (within `MyPackage.jl`), I can’t access it without fully qualifying the method name. Why is that? Because I added to the `export` list, I shouldn’t have to fully qualify it right? Or is something going on here related to the reexporting of `MyPackage`?

Is there something I should be doing differently here? Does this make sense or have I not described the problem adequately?

Edit: typo

---

<div class="post-metadata">

**Author:** ![moble](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/moble/32/23535_2.png) [@moble](https://discourse.julialang.org/u/moble)\
**Post date:** [September 15, 2024, 1:02pm UTC](https://discourse.julialang.org/t/revise-not-working-with-drwatson-use-case/119360/2 "2024-09-15T13:02:56Z")

</div>

Since no one else has responded so far, I’ll just chime in with my guess: I doubt that it has anything to do with DrWatson; the interaction between Revise and Reexport is probably more relevant. See [this discourse post](https://discourse.julialang.org/t/does-reexport-break-revise/82717), for example: they don’t always play nicely together.
