Hello,
The new version of the Scilab VScode extension allows this, see Scilab Extension for Visual Studio Code
S.