blob: e2fbe4bac72dfda5670e64252f1bfec969da639c [file] [log] [blame]
{
"name": "language-fidl",
"displayName": "FIDL Language Support",
"description": "Support for FIDL files",
"license": "SEE LICENSE IN LICENSE",
"version": "0.5.0",
"publisher": "fuchsia-authors",
"engines": {
"vscode": "^1.45.1"
},
"categories": [
"Programming Languages"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "fidl",
"aliases": [
"FIDL",
"fidl"
],
"extensions": [
".fidl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "fidl",
"scopeName": "source.fidl",
"path": "./syntaxes/fidl.tmLanguage.json"
}
],
"configuration": [
{
"title": "FIDL",
"properties": {
"fidl.enableLSP": {
"type": "boolean",
"description": "Enables/disables the FIDL Language Server.",
"default": "true"
},
"fidl.fidlProject": {
"type": "string",
"description": "Specifies the absolute path to fidl_project.json, a declarative file of FIDL libraries and their build artifacts.",
"default": ""
},
"fidl.projectRoot": {
"type": "string",
"description": "Specifies the absolute path to the root directory of the FIDL project. If not set, will be assumed to be the path containing fidl_project.json.",
"default": ""
},
"fidl.tools.compiler": {
"type": "string",
"description": "Specifies the absolute path to fidlc.",
"default": ""
},
"fidl.tools.linter": {
"type": "string",
"description": "Specifies the absolute path to the fidl-lint tool.",
"default": ""
},
"fidl.tools.formatter": {
"type": "string",
"description": "Specifies the absolute path to the fidl-format tool.",
"default": ""
},
"fidl.tools.experiments": {
"type": "array",
"description": "Specifies experiments to pass to fidlc.",
"default": []
}
}
}
]
},
"homepage": "https://fuchsia.googlesource.com/fidl-misc/+/refs/heads/master/vscode-language-fidl/",
"repository": {
"type": "git",
"url": "https://fuchsia.googlesource.com/fidl-misc/+/refs/heads/master/vscode-language-fidl/"
},
"icon": "images/fuchsia_logo_128x128.png",
"activationEvents": [
"onLanguage:fidl"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "mocha --require ts-node/register ./test/*.test.ts",
"build-syntax": "ts-node ./tools/generate-syntax.ts > ./syntaxes/fidl.tmLanguage.json",
"presubmit": "prettier --write tools/generate-syntax.ts src/extension.ts src/formatter.ts src/tool_finder.ts"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^11.15.16",
"@types/oniguruma": "^7.0.1",
"@types/tmp": "^0.1.0",
"@types/vscode": "^1.45.1",
"mocha": "^10.1.0",
"oniguruma": "^7.2.3",
"prettier": "^2.0.5",
"ts-node": "^8.10.2",
"tslint": "^6.1.2",
"typescript": "^3.9.5",
"vsce": "^2.14.0"
},
"__metadata": {
"id": "0eda5a5d-beca-458d-9855-7994a1f8d22c",
"publisherDisplayName": "The Fuchsia Authors",
"publisherId": "6b4341fb-1e2c-4a5e-9c1f-1d34016009f5"
},
"dependencies": {
"vscode-languageclient": "^6.1.3"
}
}