Home | History | Annotate | Download | only in sources
      1 {
      2     "extensions": [
      3         {
      4             "type": "@WebInspector.Panel",
      5             "name": "sources",
      6             "title": "Sources",
      7             "order": 2,
      8             "className": "WebInspector.SourcesPanel"
      9         },
     10         {
     11             "type": "@WebInspector.ContextMenu.Provider",
     12             "contextTypes": ["WebInspector.UISourceCode", "WebInspector.RemoteObject"],
     13             "className": "WebInspector.SourcesPanel.ContextMenuProvider"
     14         },
     15         {
     16             "type": "@WebInspector.ActionDelegate",
     17             "actionId": "debugger.toggle-pause",
     18             "className": "WebInspector.SourcesPanel.TogglePauseActionDelegate",
     19             "contextTypes": ["WebInspector.SourcesPanel", "WebInspector.ShortcutRegistry.ForwardedShortcut"],
     20             "bindings": [
     21                 {
     22                     "platform": "windows,linux",
     23                     "shortcut": "F8 Ctrl+\\"
     24                 },
     25                 {
     26                     "platform": "mac",
     27                     "shortcut": "F8 Meta+\\"
     28                 }
     29             ]
     30         },
     31         {
     32             "type": "@WebInspector.SearchScope",
     33             "className": "WebInspector.SourcesSearchScope"
     34         },
     35         {
     36             "type": "@WebInspector.DrawerEditor",
     37             "className": "WebInspector.SourcesPanel.DrawerEditor"
     38         },
     39         {
     40             "type": "@WebInspector.Revealer",
     41             "contextTypes": ["WebInspector.UILocation"],
     42             "className": "WebInspector.SourcesPanel.UILocationRevealer"
     43         },
     44         {
     45             "type": "@WebInspector.Revealer",
     46             "contextTypes": ["WebInspector.UISourceCode"],
     47             "className": "WebInspector.SourcesPanel.UISourceCodeRevealer"
     48         },
     49         {
     50             "type": "@WebInspector.SourcesView.EditorAction",
     51             "className": "WebInspector.InplaceFormatterEditorAction"
     52         },
     53         {
     54             "type": "@WebInspector.SourcesView.EditorAction",
     55             "className": "WebInspector.ScriptFormatterEditorAction"
     56         },
     57         {
     58             "type": "navigator-view",
     59             "name": "sources",
     60             "title": "Sources",
     61             "order": 1,
     62             "className": "WebInspector.SourcesNavigatorView"
     63         },
     64         {
     65             "type": "navigator-view",
     66             "name": "contentScripts",
     67             "title": "Content scripts",
     68             "order": 2,
     69             "className": "WebInspector.ContentScriptsNavigatorView"
     70         },
     71         {
     72             "type": "navigator-view",
     73             "name": "snippets",
     74             "title": "Snippets",
     75             "order": 3,
     76             "className": "WebInspector.SnippetsNavigatorView"
     77         },
     78         {
     79             "type": "@WebInspector.ActionDelegate",
     80             "actionId": "sources.go-to-source",
     81             "className": "WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate",
     82             "bindings": [
     83                 {
     84                     "platform": "mac",
     85                     "shortcut": "Meta+O Meta+P"
     86                 },
     87                 {
     88                     "platform": "windows,linux",
     89                     "shortcut": "Ctrl+O Ctrl+P"
     90                 }
     91             ]
     92         },
     93         {
     94             "type": "ui-setting",
     95             "settingName": "javaScriptDisabled",
     96             "settingType": "custom",
     97             "className": "WebInspector.SourcesPanel.DisableJavaScriptSettingDelegate"
     98         },
     99         {
    100             "type": "ui-setting",
    101             "section": "Sources",
    102             "title": "Search in content scripts",
    103             "settingName": "searchInContentScripts",
    104             "settingType": "checkbox"
    105         },
    106         {
    107             "type": "ui-setting",
    108             "section": "Sources",
    109             "title": "Enable JavaScript source maps",
    110             "settingName": "jsSourceMapsEnabled",
    111             "settingType": "checkbox"
    112         },
    113         {
    114             "type": "ui-setting",
    115             "section": "Sources",
    116             "title": "Detect indentation",
    117             "settingName": "textEditorAutoDetectIndent",
    118             "settingType": "checkbox"
    119         },
    120         {
    121             "type": "ui-setting",
    122             "section": "Sources",
    123             "title": "Autocompletion",
    124             "settingName": "textEditorAutocompletion",
    125             "settingType": "checkbox"
    126         },
    127         {
    128             "type": "ui-setting",
    129             "section": "Sources",
    130             "title": "Bracket matching",
    131             "settingName": "textEditorBracketMatching",
    132             "settingType": "checkbox"
    133         },
    134         {
    135             "type": "ui-setting",
    136             "section": "Sources",
    137             "title": "Show whitespace characters",
    138             "settingName": "showWhitespacesInEditor",
    139             "settingType": "checkbox"
    140         },
    141         {
    142             "type": "ui-setting",
    143             "section": "Sources",
    144             "title": "Enable CSS source maps",
    145             "settingName": "cssSourceMapsEnabled",
    146             "settingType": "checkbox"
    147         },
    148         {
    149             "type": "ui-setting",
    150             "title": "Auto-reload generated CSS",
    151             "parentSettingName": "cssSourceMapsEnabled",
    152             "settingName": "cssReloadEnabled",
    153             "settingType": "checkbox"
    154         },
    155         {
    156             "type": "ui-setting",
    157             "section": "Sources",
    158             "experiment": "frameworksDebuggingSupport",
    159             "title": "Skip stepping through sources with particular names",
    160             "settingName": "skipStackFramesSwitch",
    161             "settingType": "checkbox"
    162         },
    163         {
    164             "type": "ui-setting",
    165             "experiment": "frameworksDebuggingSupport",
    166             "parentSettingName": "skipStackFramesSwitch",
    167             "settingType": "custom",
    168             "className": "WebInspector.SourcesPanel.SkipStackFramePatternSettingDelegate"
    169         }
    170     ],
    171     "dependencies": [ "source_frame" ],
    172     "scripts": [ "SourcesPanel.js" ]
    173 }
    174