mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
89e46bf90b
changelog_begin changelog_end
157 lines
4.9 KiB
JSON
157 lines
4.9 KiB
JSON
{
|
|
"name": "daml",
|
|
"displayName": "DAML",
|
|
"description": "DAML editing and analysis tools",
|
|
"version": "__VERSION__",
|
|
"publisher": "DigitalAssetHoldingsLLC",
|
|
"repository": "https://github.com/digital-asset/daml/tree/main/compiler/daml-extension",
|
|
"icon": "images/daml-studio.png",
|
|
"engines": {
|
|
"vscode": "^1.39.0"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"private": true,
|
|
"activationEvents": [
|
|
"onLanguage:daml",
|
|
"onCommand:daml.openDamlDocs",
|
|
"onCommand:daml.resetTelemetryConsent",
|
|
"onCommand:daml.showResource"
|
|
],
|
|
"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.visualize",
|
|
"title": "Visualize daml project",
|
|
"when": "editorLangId == daml"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
"daml.extraArguments": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Extra arguments passed to `damlc ide`. This can be used to enable additional warnings via `--ghc-option -W`"
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"@types/node-fetch": "^2.5.3",
|
|
"@types/tmp": "0.0.29",
|
|
"@types/which": "1.3.1",
|
|
"@types/xml2js": "^0.4.5",
|
|
"fp-ts": "^2.1.1",
|
|
"node-fetch": "^2.6.1",
|
|
"tmp": "0.0.29",
|
|
"vscode-languageclient": "^6.1.3",
|
|
"which": "1.3.1",
|
|
"xml2js": "^0.4.22"
|
|
},
|
|
"devDependencies": {
|
|
"@bazel/hide-bazel-files": "1.6.0",
|
|
"@types/node": "12.7.11",
|
|
"@types/vscode": "1.39",
|
|
"typescript": "3.6.3",
|
|
"vsce": "1.88.0"
|
|
}
|
|
}
|