mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
25c0052bce
There were two issues: 1. VSCode changed their packaging so we now need to depend on `@types/vscode`. This broke `yarn run compile`. I have no idea why this did not cause an error in the Bazel build. Presumably the giant tsconfig that it generates was doing something different. 2. We excluded src/webview.js in .vscodeignore which means that it was not included in `vsce package` and thereby also not in the extension included in the marketplace.
139 lines
4.2 KiB
JSON
139 lines
4.2 KiB
JSON
{
|
|
"name": "daml",
|
|
"displayName": "DAML",
|
|
"description": "DAML editing and analysis tools",
|
|
"version": "__VERSION__",
|
|
"publisher": "DigitalAssetHoldingsLLC",
|
|
"repository": "https://github.com/digital-asset/daml/tree/master/compiler/daml-extension",
|
|
"icon": "images/daml-studio.png",
|
|
"engines": {
|
|
"vscode": "^1.33.0"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"private": true,
|
|
"activationEvents": [
|
|
"onLanguage:daml",
|
|
"onCommand:daml.showResource",
|
|
"onCommand:daml.openDamlDocs"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "daml",
|
|
"extensions": [
|
|
".daml"
|
|
],
|
|
"aliases": [
|
|
"DAML"
|
|
],
|
|
"configuration": "./daml12.configuration.json"
|
|
},
|
|
{
|
|
"id": "daml-core",
|
|
"extensions": [
|
|
".daml-core"
|
|
],
|
|
"aliases": [
|
|
"DAML CORE"
|
|
],
|
|
"configuration": "./daml12.configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "daml-core",
|
|
"scopeName": "source.daml",
|
|
"path": "./syntaxes/daml12.tmLanguage.xml"
|
|
},
|
|
{
|
|
"language": "daml",
|
|
"scopeName": "source.daml",
|
|
"path": "./syntaxes/daml12.tmLanguage.xml"
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "daml.showResource",
|
|
"title": "Open DAML virtual resource"
|
|
},
|
|
{
|
|
"command": "daml.openDamlDocs",
|
|
"title": "[DAML Documentation]"
|
|
},
|
|
{
|
|
"command": "daml.resetTelemetryConsent",
|
|
"title": "Ask me about DAML telemetry again on startup"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"command": "daml.openDamlDocs",
|
|
"key": "ctrl+f1",
|
|
"mac": "cmd+f1"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "DAML Studio configuration",
|
|
"properties": {
|
|
"daml.debug": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable debug logging in the DAML Language Server."
|
|
},
|
|
"daml.experimental": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable experimental features in the IDE, this may break things"
|
|
},
|
|
"daml.profile": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Profile the daml ide plugin, may effect performance"
|
|
},
|
|
"daml.telemetry": {
|
|
"enum": [
|
|
"Enable",
|
|
"Disable",
|
|
"From consent popup"
|
|
],
|
|
"default": "From consent popup",
|
|
"description": "Controls whether you send DAML usage data to Digital Asset"
|
|
}
|
|
}
|
|
},
|
|
"menus": {
|
|
"editor/title": [
|
|
{
|
|
"when": "resourceLangId == daml",
|
|
"command": "daml.openDamlDocs",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
},
|
|
"snippets": [
|
|
{
|
|
"language": "daml",
|
|
"path": "./snippets/daml.json"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"compile": "node ./node_modules/typescript/bin/tsc -p ./",
|
|
"build": "node ./node_modules/typescript/bin/tsc -p ./"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "5.3.0-next.6",
|
|
"which": "1.3.1",
|
|
"@types/which": "1.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@bazel/hide-bazel-files": "0.32.2",
|
|
"typescript": "3.3.3",
|
|
"@types/node": "6.0.42",
|
|
"@types/vscode": "1.33",
|
|
"vsce": "1.65.0"
|
|
}
|
|
}
|