Skip to content

Commit

Permalink
update: [BACKLOG-1732] added more response messages for custom commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendez committed Oct 3, 2011
1 parent c739639 commit 93a6f00
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 20 deletions.
3 changes: 2 additions & 1 deletion client/ext/beautify/beautify.js
Expand Up @@ -29,7 +29,8 @@ module.exports = ext.register("ext/beautify/beautify", {

commands: {
"beautify": {
hint: "reformat selected JavaScript code in the editor"
hint: "reformat selected JavaScript code in the editor",
msg: "Beaufiying selection."
}
},

Expand Down
10 changes: 8 additions & 2 deletions client/ext/newresource/newresource.js
Expand Up @@ -22,8 +22,14 @@ module.exports = ext.register("ext/newresource/newresource", {
markup : markup,
deps : [fs],
commands : {
"newfile": {hint: "create a new file resource"},
"newfolder": {hint: "create a new directory resource"}
"newfile": {
hint: "create a new file resource",
msg: "New file created."
},
"newfolder": {
hint: "create a new directory resource",
msg: "New directory created."
}
},
hotitems: {},

Expand Down
10 changes: 8 additions & 2 deletions client/ext/quicksearch/quicksearch.js
Expand Up @@ -25,8 +25,14 @@ module.exports = ext.register("ext/quicksearch/quicksearch", {
commands : {
"quicksearch": {hint: "quickly search for a string inside the active document, without further options (see 'search')"},
"find": {hint: "open the quicksearch dialog to quickly search for a phrase"},
"findnext": {hint: "search for the next occurrence of the search query your entered last"},
"findprevious": {hint: "search for the previous occurrence of the search query your entered last"}
"findnext": {
hint: "search for the next occurrence of the search query your entered last",
msg: "Navigating to next match."
},
"findprevious": {
hint: "search for the previous occurrence of the search query your entered last",
msg: "Navigating to previous match."
}
},
hotitems: {},

Expand Down
30 changes: 15 additions & 15 deletions client/ext/tabbehaviors/tabbehaviors.js
Expand Up @@ -24,21 +24,21 @@ module.exports = ext.register("ext/tabbehaviors/tabbehaviors", {
more : null,
menuOffset : 5,
commands : {
"closetab": {hint: "close the tab that is currently active"},
"closealltabs": {hint: "close all opened tabs"},
"closeallbutme": {hint: "close all opened tabs, but the tab that is currently active"},
"gototabright": {hint: "navigate to the next tab, right to the tab that is currently active"},
"gototableft": {hint: "navigate to the next tab, left to the tab that is currently active"},
"tab1": {hint: "navigate to the first tab"},
"tab2": {hint: "navigate to the second tab"},
"tab3": {hint: "navigate to the third tab"},
"tab4": {hint: "navigate to the fourth tab"},
"tab5": {hint: "navigate to the fifth tab"},
"tab6": {hint: "navigate to the sixth tab"},
"tab7": {hint: "navigate to the seventh tab"},
"tab8": {hint: "navigate to the eighth tab"},
"tab9": {hint: "navigate to the ninth tab"},
"tab0": {hint: "navigate to the tenth tab"}
"closetab": {hint: "close the tab that is currently active", msg: "Closing active tab."},
"closealltabs": {hint: "close all opened tabs": msg: "Closing all tabs."},
"closeallbutme": {hint: "close all opened tabs, but the tab that is currently active", msg: "Closing tabs."},
"gototabright": {hint: "navigate to the next tab, right to the tab that is currently active", msg: "Switching to right tab."},
"gototableft": {hint: "navigate to the next tab, left to the tab that is currently active", msg: "Switching to left tab."},
"tab1": {hint: "navigate to the first tab", msg: "Switching to tab 1."},
"tab2": {hint: "navigate to the second tab", msg: "Switching to tab 2."},
"tab3": {hint: "navigate to the third tab", msg: "Switching to tab 3."},
"tab4": {hint: "navigate to the fourth tab", msg: "Switching to tab 4."},
"tab5": {hint: "navigate to the fifth tab", msg: "Switching to tab 5."},
"tab6": {hint: "navigate to the sixth tab", msg: "Switching to tab 6."},
"tab7": {hint: "navigate to the seventh tab", msg: "Switching to tab 7."},
"tab8": {hint: "navigate to the eighth tab", msg: "Switching to tab 8."},
"tab9": {hint: "navigate to the ninth tab", msg: "Switching to tab 9."},
"tab0": {hint: "navigate to the tenth tab", msg: "Switching to tab 10."}
},
hotitems : {},

Expand Down

0 comments on commit 93a6f00

Please sign in to comment.