Skip to content
Snippets Groups Projects
Commit 0c0e707e authored by Sytze de Witte's avatar Sytze de Witte Committed by Stekelenburg, A.V. (Alexander, Student )
Browse files

all commands,views,etc in package.json start with modest

parent addfa5ac
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
"displayName": "Modest",
"description": "Language support for the Modest Toolset",
"icon": "media/modest-icon.png",
"version": "0.0.2",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://gitlab.utwente.nl/dp-group-14/ide-plugin.git"
......@@ -31,7 +31,7 @@
"contributes": {
"commands": [
{
"command": "analysisResults.copyValue",
"command": "modest.analysisResults.copyValue",
"title": "Copy value",
"icon": {
"light": "media/light/copy.svg",
......@@ -39,63 +39,63 @@
}
},
{
"command": "analysisResults.copyItem",
"command": "modest.analysisResults.copyItem",
"title": "Copy item"
},
{
"command": "analysisResults.highlight",
"command": "modest.analysisResults.highlight",
"title": "Highlight item"
},
{
"command": "analysisResults.plotValue",
"command": "modest.analysisResults.plotValue",
"title": "Plot value"
},
{
"command": "analysisResults.load",
"command": "modest.analysisResults.load",
"title": "Open analysis results"
},
{
"command": "analysisResults.saveAsJSON",
"command": "modest.analysisResults.saveAsJSON",
"title": "Save results as JSON file"
},
{
"command": "analysisResults.saveAsText",
"command": "modest.analysisResults.saveAsText",
"title": "Save results as text file"
},
{
"command": "analysisResults.openFileInEditor",
"command": "modest.analysisResults.openFileInEditor",
"title": "Show results in editor"
},
{
"command": "analysisResults.openInEditor",
"command": "modest.analysisResults.openInEditor",
"title": "Show value in editor"
},
{
"command": "analysisResults.openInCompView",
"command": "modest.analysisResults.openInCompView",
"title": "Show results in comparison view"
},
{
"command": "analysisResults.clear",
"command": "modest.analysisResults.clear",
"title": "Clear view"
},
{
"command": "analysisResultsCompView.load",
"command": "modest.analysisResultsCompView.load",
"title": "Open analysis results"
},
{
"command": "analysisResultsCompView.saveAsJSON",
"command": "modest.analysisResultsCompView.saveAsJSON",
"title": "Save results as JSON file"
},
{
"command": "analysisResultsCompView.saveAsText",
"command": "modest.analysisResultsCompView.saveAsText",
"title": "Save results as text file"
},
{
"command": "analysisResultsCompView.openFileInEditor",
"command": "modest.analysisResultsCompView.openFileInEditor",
"title": "Show results in editor"
},
{
"command": "analysisResultsCompView.clearCompView",
"command": "modest.analysisResultsCompView.clearCompView",
"title": "Clear comparison view"
},
{
......@@ -155,7 +155,7 @@
"title": "Copy DOT to clipboard"
},
{
"command": "modest.savePlot",
"command": "modest.analysisResults.savePlot",
"title": "Save plot as image",
"icon": {
"light": "media/light/save.svg",
......@@ -166,86 +166,86 @@
"menus": {
"view/title": [
{
"command": "analysisResults.load",
"when": "view == analysisResults",
"command": "modest.analysisResults.load",
"when": "view == modest.analysisResults",
"group": "file"
},
{
"command": "analysisResults.saveAsJSON",
"when": "view == analysisResults",
"command": "modest.analysisResults.saveAsJSON",
"when": "view == modest.analysisResults",
"group": "file"
},
{
"command": "analysisResults.saveAsText",
"when": "view == analysisResults",
"command": "modest.analysisResults.saveAsText",
"when": "view == modest.analysisResults",
"group": "file"
},
{
"command": "analysisResults.openFileInEditor",
"when": "view == analysisResults",
"command": "modest.analysisResults.openFileInEditor",
"when": "view == modest.analysisResults",
"group": "show"
},
{
"command": "analysisResults.openInCompView",
"when": "view == analysisResults",
"command": "modest.analysisResults.openInCompView",
"when": "view == modest.analysisResults",
"group": "show"
},
{
"command": "analysisResults.clear",
"when": "view == analysisResults"
"command": "modest.analysisResults.clear",
"when": "view == modest.analysisResults"
},
{
"command": "analysisResultsCompView.load",
"when": "view == analysisResultsCompView",
"command": "modest.analysisResultsCompView.load",
"when": "view == modest.analysisResultsCompView",
"group": "file"
},
{
"command": "analysisResultsCompView.saveAsJSON",
"when": "view == analysisResultsCompView",
"command": "modest.analysisResultsCompView.saveAsJSON",
"when": "view == modest.analysisResultsCompView",
"group": "file"
},
{
"command": "analysisResultsCompView.saveAsText",
"when": "view == analysisResultsCompView",
"command": "modest.analysisResultsCompView.saveAsText",
"when": "view == modest.analysisResultsCompView",
"group": "file"
},
{
"command": "analysisResultsCompView.openFileInEditor",
"when": "view == analysisResultsCompView",
"command": "modest.analysisResultsCompView.openFileInEditor",
"when": "view == modest.analysisResultsCompView",
"group": "show"
},
{
"command": "analysisResultsCompView.clearCompView",
"when": "view == analysisResultsCompView"
"command": "modest.analysisResultsCompView.clearCompView",
"when": "view == modest.analysisResultsCompView"
}
],
"view/item/context": [
{
"command": "analysisResults.copyValue",
"when": "view == analysisResults && viewItem =~ /notEmpty/ || view == analysisResultsCompView && viewItem =~ /notEmpty/",
"command": "modest.analysisResults.copyValue",
"when": "view == modest.analysisResults && viewItem =~ /notEmpty/ || view == modest.analysisResultsCompView && viewItem =~ /notEmpty/",
"group": "inline"
},
{
"command": "analysisResults.copyValue",
"when": "view == analysisResults && viewItem =~ /notEmpty/ || view == analysisResultsCompView && viewItem =~ /notEmpty/",
"command": "modest.analysisResults.copyValue",
"when": "view == modest.analysisResults && viewItem =~ /notEmpty/ || view == modest.analysisResultsCompView && viewItem =~ /notEmpty/",
"group": "copy"
},
{
"command": "analysisResults.copyItem",
"when": "view == analysisResults || view == analysisResultsCompView",
"command": "modest.analysisResults.copyItem",
"when": "view == modest.analysisResults || view == modest.analysisResultsCompView",
"group": "copy"
},
{
"command": "analysisResults.openInEditor",
"when": "view == analysisResults && viewItem =~ /notEmpty/ || view == analysisResultsCompView && viewItem =~ /notEmpty/"
"command": "modest.analysisResults.openInEditor",
"when": "view == modest.analysisResults && viewItem =~ /notEmpty/ || view == modest.analysisResultsCompView && viewItem =~ /notEmpty/"
},
{
"command": "analysisResults.highlight",
"when": "view == analysisResults && viewItem =~ /notRoot/ || view == analysisResultsCompView && viewItem =~ /notRoot/"
"command": "modest.analysisResults.highlight",
"when": "view == modest.analysisResults && viewItem =~ /notRoot/ || view == modest.analysisResultsCompView && viewItem =~ /notRoot/"
},
{
"command": "analysisResults.plotValue",
"when": "view == analysisResults && viewItem =~ /plot/ || view == analysisResultsCompView && viewItem =~ /plot/"
"command": "modest.analysisResults.plotValue",
"when": "view == modest.analysisResults && viewItem =~ /plot/ || view == modest.analysisResultsCompView && viewItem =~ /plot/"
}
],
"editor/title": [
......@@ -369,12 +369,12 @@
],
"modest-panel": [
{
"id": "analysisResults",
"id": "modest.analysisResults",
"name": "Analysis Results",
"visibility": "visible"
},
{
"id": "analysisResultsCompView",
"id": "modest.analysisResultsCompView",
"name": "Analysis Results Comparison View",
"visibility": "visible"
}
......@@ -382,11 +382,11 @@
},
"viewsWelcome": [
{
"view": "analysisResults",
"view": "modest.analysisResults",
"contents": "Model analysis results will be shown here."
},
{
"view": "analysisResultsCompView",
"view": "modest.analysisResultsCompView",
"contents": "Show additional analysis results in this view to compare."
}
],
......@@ -400,7 +400,7 @@
"activationEvents": [
"onLanguage:modest",
"onView:modest.modestSidebar",
"onView:analysisResults"
"onView:modest.analysisResults"
],
"main": "./dist/extension",
"scripts": {
......@@ -438,4 +438,4 @@
"vscode-codicons": "0.0.15",
"vscode-languageclient": "^7.0.0"
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment