Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1199)

Unified Diff: Source/devtools/front_end/components/ShortcutsScreen.js

Issue 378273004: DevTools: Add a shortcut for switching between files with the same name and different extensions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a shortcut to shortcuts screen Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/components/ShortcutsScreen.js
diff --git a/Source/devtools/front_end/components/ShortcutsScreen.js b/Source/devtools/front_end/components/ShortcutsScreen.js
index d8af2529e3770e4034c395b66290f58e10293c7d..f236c1a9ca87962f059b86ab3116a82e8312cf7b 100644
--- a/Source/devtools/front_end/components/ShortcutsScreen.js
+++ b/Source/devtools/front_end/components/ShortcutsScreen.js
@@ -269,6 +269,7 @@ WebInspector.ShortcutsScreen.registerShortcuts = function()
section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10"));
section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location"));
section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.JumpToNextLocation, WebInspector.UIString("Jump to next editing location"));
+ section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescriptorsForAction("sources.switch-file"), WebInspector.UIString("Switch between files with the same name an ddifferent extensions."));
apavlov 2014/07/09 14:06:05 typo: "an ddifferent" -> "and different"
// Timeline panel
section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Timeline Panel"));
« no previous file with comments | « no previous file | Source/devtools/front_end/sources/SourcesView.js » ('j') | Source/devtools/front_end/sources/SourcesView.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698