mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 17:03:32 +03:00
dee9e079d4
Outline view and completions for Enso code in VSCode. # Important Notes This PR provides the necessary infrastructure for building VSCode extension that includes `enso_parser` library compiled for all supported platforms. VSCode extension can now use libraries from `sbt` that are `publishM2`-ready. To make that possible a documentation must have been provided and fixed for those modules - hence so many changes in `.scala` classes. <img width="862" alt="image" src="https://github.com/enso-org/enso/assets/26887752/7374bf41-bdc6-4322-b562-85a2e761de2a"> Last, but not least. The outline view and completions display something.
135 lines
3.0 KiB
JSON
135 lines
3.0 KiB
JSON
{
|
|
"name": "enso4vscode",
|
|
"displayName": "Enso Tools for VSCode",
|
|
"description": "Support for Enso programming and development",
|
|
"icon": "dist/enso.png",
|
|
"version": "0.1.0",
|
|
"preview": true,
|
|
"license": "SEE LICENSE IN dist/LICENSE",
|
|
"publisher": "enso",
|
|
"author": {
|
|
"name": "Enso.org"
|
|
},
|
|
"homepage": "https://github.com/enso-org/enso/blob/develop/tools/enso4igv/README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/enso-org/enso.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/enso-org/enso/issues"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.49.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages",
|
|
"Debuggers",
|
|
"Other"
|
|
],
|
|
"keywords": [
|
|
"polyglot",
|
|
"graalvm",
|
|
"truffle"
|
|
],
|
|
"activationEvents": [
|
|
"workspaceContains:**/*.java",
|
|
"onLanguage:enso",
|
|
"onDebug",
|
|
"onDebugDynamicConfigurations"
|
|
],
|
|
"main": "./dist/extension",
|
|
"contributes": {
|
|
"configuration": {},
|
|
"commands": [],
|
|
"viewsContainers": {},
|
|
"viewsWelcome": [],
|
|
"views": {},
|
|
"menus": {},
|
|
"languages": [
|
|
{
|
|
"id": "enso",
|
|
"aliases": [
|
|
"Enso"
|
|
],
|
|
"extensions": [
|
|
".enso"
|
|
],
|
|
"configuration": "./src/main/resources/org/enso/tools/enso4igv/enso.tmLanguage.json"
|
|
}
|
|
],
|
|
"netbeans.documentSelectors": [
|
|
{
|
|
"language": "enso",
|
|
"pattern": "**/*.enso"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "enso",
|
|
"scopeName": "source.enso",
|
|
"path": "./src/main/resources/org/enso/tools/enso4igv/enso.tmLanguage.json"
|
|
}
|
|
],
|
|
"snippets": [],
|
|
"breakpoints": [
|
|
{
|
|
"language": "enso"
|
|
}
|
|
],
|
|
"debuggers": [
|
|
{
|
|
"type": "java+",
|
|
"runtime": "node",
|
|
"languages": [
|
|
"enso"
|
|
],
|
|
"initialConfigurations": [
|
|
{
|
|
"type": "java+",
|
|
"request": "launch",
|
|
"name": "Launch Enso File"
|
|
}
|
|
],
|
|
"configurationSnippets": [
|
|
{
|
|
"label": "Enso Launch",
|
|
"description": "Debugging Enso Programs.",
|
|
"body": {
|
|
"type": "java+",
|
|
"request": "launch",
|
|
"name": "Launch Enso File"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vsix": "vsce package",
|
|
"vscode:prepublish": "webpack --mode production",
|
|
"compile": "tsc -p ./",
|
|
"webpack": "webpack --mode development",
|
|
"info": "webpack --display-modules",
|
|
"watch": "webpack --mode development --watch",
|
|
"lint": "tslint -p ./"
|
|
},
|
|
"dependencies": {
|
|
"copy-webpack-plugin": "=10.2.4",
|
|
"decompress": "=4.2.1",
|
|
"maven": "=5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "=1.49.0",
|
|
"@types/xml2js": "=0.4.11",
|
|
"ts-loader": "=9.4.2",
|
|
"tslint": "=6.1.3",
|
|
"typescript": "=4.9.5",
|
|
"vsce": "=2.15.0",
|
|
"webpack": "=5.76.0",
|
|
"webpack-cli": "=5.0.1"
|
|
},
|
|
"extensionDependencies": [
|
|
"asf.apache-netbeans-java"
|
|
]
|
|
}
|