one liner for bash
cat << EOF > ~/.local/share/nemo/actions/vscode.nemo_action
[Nemo Action]
Name=Open in VS Code
Comment=Open in VS Code
Exec=code "%F"
Icon-Name=visual-studio-code
Selection=Any
Extensions=dir;
EOF
Add code below to ~/.local/share/nemo/actions/vscode.nemo_action
[Nemo Action]
Name=Open in VS Code
Comment=Open in VS Code
Exec=code "%F"
Icon-Name=visual-studio-code
Selection=Any
Extensions=dir;
Then in files go to folder you want to open with VScode then right click and choose open in VS Code.
Top comments (5)
Very useful, thanks! Note, however, that this will fail if the path contains spaces. You can fix that by changing the single
Execline to the following three lines:Thank you soooooooo much
thanks man
Thanks!
Perfect, thank you very much..
Some comments may only be visible to logged-in visitors. Sign in to view all comments.