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

Side by Side 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: Comments addressed 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. GoToLine, WebInspector.UIString("Go to line")); 262 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. GoToLine, WebInspector.UIString("Go to line"));
263 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); 263 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint"));
264 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleComment, WebInspector.UIString("Toggle comment")); 264 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleComment, WebInspector.UIString("Toggle comment"));
265 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. CloseEditorTab, WebInspector.UIString("Close editor tab")); 265 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. CloseEditorTab, WebInspector.UIString("Close editor tab"));
266 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1")); 266 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1"));
267 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByOne, WebInspector.UIString("Decrement CSS unit by 1")); 267 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByOne, WebInspector.UIString("Decrement CSS unit by 1"));
268 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByTen, WebInspector.UIString("Increment CSS unit by 10")); 268 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByTen, WebInspector.UIString("Increment CSS unit by 10"));
269 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10")); 269 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10"));
270 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location ")); 270 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location "));
271 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToNextLocation, WebInspector.UIString("Jump to next editing location")); 271 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToNextLocation, WebInspector.UIString("Jump to next editing location"));
272 section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescriptorsFo rAction("sources.switch-file"), WebInspector.UIString("Switch between files with the same name and different extensions."));
272 273
273 // Timeline panel 274 // Timeline panel
274 section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Timeli ne Panel")); 275 section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Timeli ne Panel"));
275 section.addAlternateKeys(WebInspector.ShortcutsScreen.TimelinePanelShortcuts .StartStopRecording, WebInspector.UIString("Start/stop recording")); 276 section.addAlternateKeys(WebInspector.ShortcutsScreen.TimelinePanelShortcuts .StartStopRecording, WebInspector.UIString("Start/stop recording"));
276 section.addAlternateKeys(WebInspector.ShortcutsScreen.TimelinePanelShortcuts .SaveToFile, WebInspector.UIString("Save timeline data")); 277 section.addAlternateKeys(WebInspector.ShortcutsScreen.TimelinePanelShortcuts .SaveToFile, WebInspector.UIString("Save timeline data"));
277 section.addAlternateKeys(WebInspector.ShortcutsScreen.TimelinePanelShortcuts .LoadFromFile, WebInspector.UIString("Load timeline data")); 278 section.addAlternateKeys(WebInspector.ShortcutsScreen.TimelinePanelShortcuts .LoadFromFile, WebInspector.UIString("Load timeline data"));
278 279
279 280
280 // Profiles panel 281 // Profiles panel
281 section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Profil es Panel")); 282 section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Profil es Panel"));
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 ], 521 ],
521 522
522 RotateCWY: [ 523 RotateCWY: [
523 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Left), 524 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Left),
524 ], 525 ],
525 526
526 RotateCCWY: [ 527 RotateCCWY: [
527 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Right), 528 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Right),
528 ] 529 ]
529 } 530 }
OLDNEW
« no previous file with comments | « LayoutTests/inspector/sources/debugger/switch-file-expected.txt ('k') | Source/devtools/front_end/sources/SourcesView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698