# REPL autocomplete doesn't work with specific \`using\` statement

**URL:** <https://discourse.julialang.org/t/repl-autocomplete-doesnt-work-with-specific-using-statement/98401>\
**Category:** General Usage\
**Tags:** repl-autocomplete\
**Created:** [May 5, 2023, 9:32pm UTC](https://discourse.julialang.org/t/repl-autocomplete-doesnt-work-with-specific-using-statement/98401 "2023-05-05T21:32:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhaensel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hhaensel/32/1207_2.png) [@hhaensel](https://discourse.julialang.org/u/hhaensel)\
**Post date:** [May 5, 2023, 9:32pm UTC](https://discourse.julialang.org/t/repl-autocomplete-doesnt-work-with-specific-using-statement/98401/1 "2023-05-05T21:32:50Z")

</div>

When I import a name via `using` the autocomplete doesn’t work while it does work when I `import` the same name.  
Example:  
after

```julia
using Pkg: activate

```

`activate` is not completed upon pressing of the tab key.

after

```julia
import Pkg: activate

```

it is completed.  
I find this strange as `using Pkg` makes autocomplete work on all exported names of Pkg, although their not imported but only `used`.  
If I don’t want to import the names, a workaround would be  
`const activate = Pkg.activate` but then I cannot decide late to import it.

Is there some reason behind this behaviour?

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [May 6, 2023, 12:04am UTC](https://discourse.julialang.org/t/repl-autocomplete-doesnt-work-with-specific-using-statement/98401/2 "2023-05-06T00:04:31Z")

</div>

This is a bug in tab completion.
