-
- Downloads
Added icon for reset poisition command and added zoom in and out buttons for dotview
Showing
- media/dark/reset-location.svg 1 addition, 0 deletionsmedia/dark/reset-location.svg
- media/dark/zoom-in.svg 1 addition, 0 deletionsmedia/dark/zoom-in.svg
- media/dark/zoom-out.svg 1 addition, 0 deletionsmedia/dark/zoom-out.svg
- media/dotview.js 23 additions, 0 deletionsmedia/dotview.js
- media/light/reset-location.svg 1 addition, 0 deletionsmedia/light/reset-location.svg
- media/light/zoom-in.svg 1 addition, 0 deletionsmedia/light/zoom-in.svg
- media/light/zoom-out.svg 1 addition, 0 deletionsmedia/light/zoom-out.svg
- package.json 107 additions, 77 deletionspackage.json
- src/commands.ts 12 additions, 1 deletionsrc/commands.ts
- src/extension.ts 2 additions, 0 deletionssrc/extension.ts
media/dark/reset-location.svg
0 → 100644
media/dark/zoom-in.svg
0 → 100644
media/dark/zoom-out.svg
0 → 100644
media/light/reset-location.svg
0 → 100644
media/light/zoom-in.svg
0 → 100644
media/light/zoom-out.svg
0 → 100644
... | ... | @@ -46,7 +46,7 @@ |
"command": "analysisResults.copyItem", | ||
"title": "Copy item" | ||
}, | ||
{ | ||
{ | ||
"command": "analysisResults.highlight", | ||
"title": "Highlight item" | ||
}, | ||
... | ... | @@ -66,15 +66,15 @@ |
"command": "analysisResults.openInEditor", | ||
"title": "Show value in editor" | ||
}, | ||
{ | ||
"command": "analysisResults.openInCompView", | ||
"title": "Show results in comparison view" | ||
}, | ||
{ | ||
"command": "analysisResults.clear", | ||
"title": "Clear view" | ||
}, | ||
{ | ||
{ | ||
"command": "analysisResults.openInCompView", | ||
"title": "Show results in comparison view" | ||
}, | ||
{ | ||
"command": "analysisResults.clear", | ||
"title": "Clear view" | ||
}, | ||
{ | ||
"command": "analysisResultsCompView.load", | ||
"title": "Open analysis results" | ||
}, | ||
... | ... | @@ -86,73 +86,93 @@ |
"command": "analysisResultsCompView.openFileInEditor", | ||
"title": "Show results in editor" | ||
}, | ||
{ | ||
"command": "analysisResultsCompView.clearCompView", | ||
"title": "Clear comparison view" | ||
}, | ||
{ | ||
"command": "modest.viewDot", | ||
"title": "Open DOT view", | ||
"icon": { | ||
"light": "media/light/open-preview.svg", | ||
"dark": "media/dark/open-preview.svg" | ||
} | ||
}, | ||
{ | ||
"command": "modest.viewDotSameWindow", | ||
"title": "Open DOT view in the current window", | ||
"icon": { | ||
"light": "media/light/preview.svg", | ||
"dark": "media/dark/preview.svg" | ||
} | ||
}, | ||
{ | ||
"command": "modest.resetDotPosition", | ||
"title": "Reset position" | ||
} | ||
{ | ||
"command": "analysisResultsCompView.clearCompView", | ||
"title": "Clear comparison view" | ||
}, | ||
{ | ||
"command": "modest.viewDot", | ||
"title": "Open DOT view", | ||
"icon": { | ||
"light": "media/light/open-preview.svg", | ||
"dark": "media/dark/open-preview.svg" | ||
} | ||
}, | ||
{ | ||
"command": "modest.viewDotSameWindow", | ||
"title": "Open DOT view in the current window", | ||
"icon": { | ||
"light": "media/light/preview.svg", | ||
"dark": "media/dark/preview.svg" | ||
} | ||
}, | ||
{ | ||
"command": "modest.resetDotPosition", | ||
"title": "Reset position", | ||
"icon": { | ||
"light": "media/light/reset-location.svg", | ||
"dark": "media/dark/reset-location.svg" | ||
} | ||
}, | ||
{ | ||
"command": "modest.dotZoomIn", | ||
"title": "Zoom in", | ||
"icon": { | ||
"light": "media/light/zoom-in.svg", | ||
"dark": "media/dark/zoom-in.svg" | ||
} | ||
}, | ||
{ | ||
"command": "modest.dotZoomOut", | ||
"title": "Zoom out", | ||
"icon": { | ||
"light": "media/light/zoom-out.svg", | ||
"dark": "media/dark/zoom-out.svg" | ||
} | ||
} | ||
], | ||
"menus": { | ||
"view/title": [ | ||
{ | ||
"command": "analysisResults.load", | ||
"when": "view == analysisResults", | ||
"group": "file" | ||
"group": "file" | ||
}, | ||
{ | ||
"command": "analysisResults.export", | ||
"when": "view == analysisResults", | ||
"group": "file" | ||
"group": "file" | ||
}, | ||
{ | ||
"command": "analysisResults.openFileInEditor", | ||
"when": "view == analysisResults", | ||
"group": "show" | ||
"group": "show" | ||
}, | ||
{ | ||
{ | ||
"command": "analysisResults.openInCompView", | ||
"when": "view == analysisResults", | ||
"group": "show" | ||
"group": "show" | ||
}, | ||
{ | ||
{ | ||
"command": "analysisResults.clear", | ||
"when": "view == analysisResults" | ||
}, | ||
{ | ||
{ | ||
"command": "analysisResultsCompView.load", | ||
"when": "view == analysisResultsCompView", | ||
"group": "file" | ||
"group": "file" | ||
}, | ||
{ | ||
"command": "analysisResultsCompView.export", | ||
"when": "view == analysisResultsCompView", | ||
"group": "file" | ||
"group": "file" | ||
}, | ||
{ | ||
"command": "analysisResultsCompView.openFileInEditor", | ||
"when": "view == analysisResultsCompView", | ||
"group": "show" | ||
"group": "show" | ||
}, | ||
{ | ||
{ | ||
"command": "analysisResultsCompView.clearCompView", | ||
"when": "view == analysisResultsCompView" | ||
} | ||
... | ... | @@ -166,35 +186,45 @@ |
{ | ||
"command": "analysisResults.copyValue", | ||
"when": "view == analysisResults && viewItem != empty || view == analysisResultsCompView && viewItem != empty", | ||
"group": "copy" | ||
"group": "copy" | ||
}, | ||
{ | ||
"command": "analysisResults.copyItem", | ||
"when": "view == analysisResults || view == analysisResultsCompView", | ||
"group": "copy" | ||
"group": "copy" | ||
}, | ||
{ | ||
"command": "analysisResults.openInEditor", | ||
"when": "view == analysisResults && viewItem != empty || view == analysisResultsCompView && viewItem != empty" | ||
}, | ||
{ | ||
"command": "analysisResults.highlight", | ||
"when": "view == analysisResults || view == analysisResultsCompView" | ||
} | ||
{ | ||
"command": "analysisResults.highlight", | ||
"when": "view == analysisResults || view == analysisResultsCompView" | ||
} | ||
], | ||
"editor/title": [ | ||
{ | ||
"when": "resourceLangId == modest", | ||
"command": "modest.viewDot", | ||
"alt": "modest.viewDotSameWindow", | ||
"group": "navigation" | ||
}, | ||
{ | ||
"when": "modest:dotViewFocused", | ||
"command": "modest.resetDotPosition", | ||
"group": "navigation" | ||
} | ||
] | ||
"editor/title": [ | ||
{ | ||
"when": "resourceLangId == modest", | ||
"command": "modest.viewDot", | ||
"alt": "modest.viewDotSameWindow", | ||
"group": "navigation" | ||
}, | ||
{ | ||
"when": "modest:dotViewFocused", | ||
"command": "modest.resetDotPosition", | ||
"group": "navigation" | ||
}, | ||
{ | ||
"when": "modest:dotViewFocused", | ||
"command": "modest.dotZoomOut", | ||
"group": "navigation" | ||
}, | ||
{ | ||
"when": "modest:dotViewFocused", | ||
"command": "modest.dotZoomIn", | ||
"group": "navigation" | ||
} | ||
] | ||
}, | ||
"commandPalette": [ | ||
{ | ||
... | ... | @@ -204,10 +234,10 @@ |
{ | ||
"command": "modest.add-parameters" | ||
}, | ||
{ | ||
"command": "modest.viewDot", | ||
"when": "editorLangId == modest" | ||
} | ||
{ | ||
"command": "modest.viewDot", | ||
"when": "editorLangId == modest" | ||
} | ||
], | ||
"keybindings": [ | ||
{ | ||
... | ... | @@ -216,12 +246,12 @@ |
"mac": "alt+shift+s", | ||
"when": "editorLangId == modest" | ||
}, | ||
{ | ||
"command": "modest.viewDot", | ||
"key": "alt+shift+d", | ||
"mac": "alt+shift+d", | ||
"when": "editorLangId == modest" | ||
} | ||
{ | ||
"command": "modest.viewDot", | ||
"key": "alt+shift+d", | ||
"mac": "alt+shift+d", | ||
"when": "editorLangId == modest" | ||
} | ||
], | ||
"languages": [ | ||
{ | ||
... | ... | @@ -285,12 +315,12 @@ |
{ | ||
"id": "analysisResults", | ||
"name": "Analysis Results", | ||
"visibility": "visible" | ||
"visibility": "visible" | ||
}, | ||
{ | ||
"id": "analysisResultsCompView", | ||
"name": "Analysis Results Comparison View", | ||
"visibility": "visible" | ||
"visibility": "visible" | ||
} | ||
] | ||
}, | ||
... | ... | @@ -343,4 +373,4 @@ |
"vscode-codicons": "0.0.15", | ||
"vscode-languageclient": "^7.0.0" | ||
} | ||
} | ||
} | ||
\ No newline at end of file |
Please register or sign in to comment