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

When defining this function in the vscode extension

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: