Create Tree-View context menu?


#1

Hello, I’d like to add a custom context menu to the tree-view. I put this in my init.coffee script as a test (bummed it from another post):

atom.contextMenu.add {
    'tree-view': [{
        label: 'Open Command Prompt',
        command: 'my-package:toggle'
    }]
}

though after saving it and relaunching Atom, I don’t have this in the tree-view context menu. I’m on Windows 10 and I’m wanting to add a “Open Command Prompt here” command as I always find myself doing “open in explorer > shift-right-click > open command window here”


#2

Maybe the open-terminal-here package is what you’re looking for?