# How to autocomplete func names

**URL:** https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048
**Category:** How-to
**Created:** [August 7, 2024, 6:13am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048 "2024-08-07T06:13:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Aleem](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Aleem](https://discourse.pumas.ai/u/Aleem)
#### Post date: [August 7, 2024, 6:13am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048/1 "2024-08-07T06:13:33Z")

</div>

Dear Team,

I’ve noticed that when using Visual Studio Code for coding in Julia, the auto-completion feature doesn’t seem to work for built-in functions of Pumas. Is this an inherent limitation of the Julia language, or is it due to Pumas being an integrated and closed environment?

Warm regards,  
Aleem

---

<div class="post-metadata">

### Author: ![Michael](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/michael/32/818_2.png) [@Michael](https://discourse.pumas.ai/u/Michael)
#### Post date: [August 7, 2024, 8:31am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048/2 "2024-08-07T08:31:22Z")

</div>

Morning @Aleem.

The VSCode Language Server should show auto-completions for Pumas functions fine. The issue you’re facing may be related to which `Julia env` is currently selected by your editor. See below for what that looks like in your editor, it should be and the bottom of the screen and near the left.

![image](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/991ba3c77759bd674ac75fb3ff8cbc278c7dc3f0.png)

Are you using PumasDesktop, or are you running this in JuliaHub? Knowing that will help narrow down the issue that you’re encountering.

---

<div class="post-metadata">

### Author: ![Aleem](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Aleem](https://discourse.pumas.ai/u/Aleem)
#### Post date: [August 7, 2024, 8:55am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048/3 "2024-08-07T08:55:53Z")

</div>

Hi Michael, I am using Pumas Desktop v2.5.1 in Windows. I found in REPL the autocompletion works well, but in the file editing area it fails. And in the workplace all packages are loaded successfully.

 ![snap_20240807165327](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/cf2e2afba4b69a908d7219f184a4be4e5fb40cff.jpeg)

---

<div class="post-metadata">

### Author: ![Aleem](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Aleem](https://discourse.pumas.ai/u/Aleem)
#### Post date: [August 7, 2024, 9:00am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048/4 "2024-08-07T09:00:06Z")

</div>

It is strange that it doesn’t work in the file editing panel.

 ![snap_20240807165850](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/8749f644035089e20da80dbc43ce03d6bae09044.jpeg)

---

<div class="post-metadata">

### Author: ![Michael](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/michael/32/818_2.png) [@Michael](https://discourse.pumas.ai/u/Michael)
#### Post date: [August 7, 2024, 9:13am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048/5 "2024-08-07T09:13:47Z")

</div>

Thanks @Aleem.

Some further questions:

- what other extensions are installed within your VSCode. Potentially something else is interfering with the Julia one. Let’s rule that out as a cause.
- what is the active project in your Julia REPL? Use `julia> Base.active_project()` to work that out.
- Does auto-complete work if you instead write `NCA.read_` in your editor window rather than just `read_`?

---

<div class="post-metadata">

### Author: ![Aleem](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Aleem](https://discourse.pumas.ai/u/Aleem)
#### Post date: [August 7, 2024, 10:06am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048/6 "2024-08-07T10:06:04Z")

</div>

Thanks. @Michael

1. I installed Python, Jupyter extensions developed by Microsoft, and Julia extension by julialang.
2. Base.active\_project()  
“C:\Users\m1825\.julia\environments\Pumas\_v2.5.1\Project.toml”
3. No it doesnt work.

---

<div class="post-metadata">

### Author: ![Michael](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/michael/32/818_2.png) [@Michael](https://discourse.pumas.ai/u/Michael)
#### Post date: [August 7, 2024, 11:52am UTC](https://discourse.pumas.ai/t/how-to-autocomplete-func-names/1048/7 "2024-08-07T11:52:07Z")

</div>

Thanks, we’ll continue to debug this internally and report back here once we’ve resolved this.
