From 5eb8875ad2ea89140e0f2886c2b2a057736077ef Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 27 Jan 2014 11:17:20 -0800 Subject: [PATCH] Add Open Your Snippets menu item --- menus/darwin.cson | 1 + src/browser/atom-application.coffee | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/menus/darwin.cson b/menus/darwin.cson index 24490bfa3..44e88dead 100644 --- a/menus/darwin.cson +++ b/menus/darwin.cson @@ -9,6 +9,7 @@ { label: 'Preferences...', command: 'application:show-settings' } { label: 'Open Your Config', command: 'application:open-your-config' } { label: 'Open Your Keymap', command: 'application:open-your-keymap' } + { label: 'Open Your Snippets', command: 'application:open-your-snippets' } { label: 'Open Your Stylesheet', command: 'application:open-your-stylesheet' } { type: 'separator' } { label: 'Install Shell Commands', command: 'window:install-shell-commands' } diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index bca05312e..affabc0ae 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -149,9 +149,10 @@ class AtomApplication @on 'application:report-issue', -> shell.openExternal('https://github.com/atom/atom/issues/new') @openPathOnEvent('application:show-settings', 'atom://config') - @openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet') - @openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap') @openPathOnEvent('application:open-your-config', 'atom://.atom/config') + @openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap') + @openPathOnEvent('application:open-your-snippets', 'atom://.atom/snippets') + @openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet') app.on 'window-all-closed', -> app.quit() if process.platform is 'win32'