Add Play/Run triangle button in editor title bar for AiraLang v1.0.3
This commit is contained in:
1 parent
5d8322ba30
commit
527d337486
3 files changed
+84
-2
No files matched your search
@@ -2,9 +2,14 @@
|
||||
"name": "airalang",
|
||||
"displayName": "AiraLang Language Support",
|
||||
"description": "Rich language support, syntax highlighting, and code snippets for AiraLang.",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"publisher": "AiraGroupOfTechnology",
|
||||
"icon": "icon.png",
|
||||
"main": "./extension.js",
|
||||
"activationEvents": [
|
||||
"onLanguage:airalang",
|
||||
"onCommand:airalang.runFile"
|
||||
],
|
||||
"author": {
|
||||
"name": "Adam Eehan (Aira Group Of Technology)"
|
||||
},
|
||||
@@ -55,6 +60,37 @@
|
||||
"language": "airalang",
|
||||
"path": "./snippets/snippets.json"
|
||||
}
|
||||
]
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"command": "airalang.runFile",
|
||||
"title": "Run AiraLang File in Terminal",
|
||||
"category": "AiraLang",
|
||||
"icon": "$(play)"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
"editor/title": [
|
||||
{
|
||||
"command": "airalang.runFile",
|
||||
"group": "navigation",
|
||||
"when": "editorLangId == airalang || resourceExtname == .aira"
|
||||
}
|
||||
],
|
||||
"editor/title/run": [
|
||||
{
|
||||
"command": "airalang.runFile",
|
||||
"group": "1_run",
|
||||
"when": "editorLangId == airalang || resourceExtname == .aira"
|
||||
}
|
||||
],
|
||||
"editor/context": [
|
||||
{
|
||||
"command": "airalang.runFile",
|
||||
"group": "AiraLang",
|
||||
"when": "editorLangId == airalang || resourceExtname == .aira"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user