The question says it all.
How can I open VS Code editor from
e.g. for notepad++ I write
typing "code" in dos command prompt worked for me