The question says it all.
How can I open VS Code editor from
e.g. for notepad++ I write
If you install VS CODE using snap. You will need to add /snap/bin in your PATH environment variable. so - open your .bashrc or .zshrc and add :/snap/bin in your PATH environment variable reload terminal, and than code comand will start it
snap
/snap/bin
PATH
.bashrc
.zshrc
:/snap/bin
code