# Autocomplete kwargs in vscode

**URL:** <https://discourse.julialang.org/t/autocomplete-kwargs-in-vscode/88417>\
**Category:** General Usage\
**Tags:** vscode\
**Created:** [October 7, 2022, 7:15pm UTC](https://discourse.julialang.org/t/autocomplete-kwargs-in-vscode/88417 "2022-10-07T19:15:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwerty](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Post date:** [October 7, 2022, 7:15pm UTC](https://discourse.julialang.org/t/autocomplete-kwargs-in-vscode/88417/1 "2022-10-07T19:15:38Z")

</div>

If I have a function with kwargs like this:

```julia
my_f(a, asdfg=4; zxcvbn=5) = println(a, asdfg, zxcvbn)

```

how can i get in vscode the autocomplete of kwargs when i call it?

```julia
my_f(3, ?... # no autocomplete

```

---

<div class="post-metadata">

**Author:** ![mreichMPI-BGC](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mreichmpi-bgc/32/43775_2.png) [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Post date:** [November 20, 2022, 6:51am UTC](https://discourse.julialang.org/t/autocomplete-kwargs-in-vscode/88417/2 "2022-11-20T06:51:27Z")

</div>

Totally agree! It is one of the resaons why users like R-Studio so much! Or is it already possible?

---

<div class="post-metadata">

**Author:** ![JanKap](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jankap/32/22763_2.png) [@JanKap](https://discourse.julialang.org/u/JanKap)\
**Post date:** [March 4, 2023, 8:53pm UTC](https://discourse.julialang.org/t/autocomplete-kwargs-in-vscode/88417/3 "2023-03-04T20:53:52Z")

</div>

There are approaches, see e.g. [Add REPL-completion for keyword arguments by Liozou · Pull Request #43536 · JuliaLang/julia (github.com)](https://github.com/JuliaLang/julia/pull/43536).

But I also think there’s much still missing.  
Practical example: Quickly read in a CSV file with a different delimiter. In Matlab simply type `readtable("file.csv", <tab>` and get a list of _all_ kwargs. I press “d” and the correct option “Delimiter” is presented. `<tab>`, adding my delimiter and that’s it. Self-explaining. Awesome. No need to look at any docs.

That does not work in Julia. Is the only way to open the docs side-by-side for even trivial things like that?
