# Variables used in string interpolations are not recognized as used by vscode extension

**URL:** <https://discourse.julialang.org/t/variables-used-in-string-interpolations-are-not-recognized-as-used-by-vscode-extension/54753>\
**Category:** Tooling\
**Tags:** bug, vscode, string-interpolation\
**Created:** [February 6, 2021, 7:54pm UTC](https://discourse.julialang.org/t/variables-used-in-string-interpolations-are-not-recognized-as-used-by-vscode-extension/54753 "2021-02-06T19:54:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Telcrome](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/telcrome/32/19559_2.png) [@Telcrome](https://discourse.julialang.org/u/Telcrome)\
**Post date:** [February 6, 2021, 7:54pm UTC](https://discourse.julialang.org/t/variables-used-in-string-interpolations-are-not-recognized-as-used-by-vscode-extension/54753/1 "2021-02-06T19:54:48Z")

</div>

When defining this function in the vscode extension

```julia
function ping(website::String, count::Int)::String
    return read(`ping $(website) -c $(count)`, String);
end

```

The extension does not recognize the usage of the arguments.  
However, they are used in a Cmd-interpolation:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/0/b032b3d933cc3220cc50d3edb03117b359cfa1be.png)
