Skip to content

Instantly share code, notes, and snippets.

@parinck
Forked from craiggists/Side Bar.sublime-menu
Created October 22, 2017 17:23
Show Gist options
  • Save parinck/27275b534124e6f9b63d987e4ce71c47 to your computer and use it in GitHub Desktop.
Save parinck/27275b534124e6f9b63d987e4ce71c47 to your computer and use it in GitHub Desktop.
Sublime Text "Open files with..." on the sidebar
[
{"id": "side-bar-files-open-with",
"children":
[
// Chrome
{
"caption": "Chrome",
"id": "side-bar-files-open-with-chrome",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Google Chrome.app",
"extensions":".*" //any file with extension
}
},
// Chrome Canary
{
"caption": "Chrome Canary",
"id": "side-bar-files-open-with-canary",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Google Chrome Canary.app",
"extensions":".*" //any file with extension
}
},
// separator
{"caption":"-"},
// Safari
{
"caption": "Safari",
"id": "side-bar-files-open-with-safari",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Safari.app",
"extensions":".*" //any file with extension
}
},
// Firefox
{
"caption": "Firefox",
"id": "side-bar-files-open-with-firefox",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Firefox.app",
"extensions":".*" //any file with extension
}
},
// separator
{"caption":"-"},
// Photoshop
{
"caption": "Photoshop",
"id": "side-bar-files-open-with-photoshop",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Adobe Photoshop CS6.app", // OSX
"extensions":"psd|png|jpg|jpeg|gif|ico" //any file with these extensions
}
},
// Pixelmator
{
"caption": "Pixelmator",
"id": "side-bar-files-open-with-pixelmator",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Pixelmator.app", // OSX
"extensions":"psd|png|jpg|jpeg|gif" //any file with these extensions
}
},
// separator
{"caption":"-"},
// Hype
{
"caption": "Hype",
"id": "side-bar-files-open-with-hype",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Hype.app", // OSX
"extensions":"hype" //any file with these extensions
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment