bassmanitram / actions-for-nautilus

An extension to the Gnome "Files" file manager that allows you to add arbitrary actions to the file selection context menu.
Apache License 2.0
165 stars 16 forks source link

Add "Open in VS Code" to Wiki #40

Closed Lukas-Schillinger closed 1 year ago

Lukas-Schillinger commented 1 year ago

Hello,

I'd like to contribute an "Open in VS Code" configuration to the project wiki. This is not an issue but Github doesn't support pull requests for wikis.

Looking at a google search for adding "Open in VS Code" to the context menu this is a fairly sought after feature.

The following configuration has worked for me on Ubuntu 22.04 and 22.10

, {
    "type": "command",
    "label": "Open in VS Code",
    "command_line": "code --new-window %f",
    "filetypes": [
        "directory", 
        "file"
    ]
}
bassmanitram commented 1 year ago

Lovely - added to the Wiki! Thanks for the contribution