73 lines
1.6 KiB
JSON
73 lines
1.6 KiB
JSON
{
|
|
"name": "gotlin-vscode",
|
|
"displayName": "Gotlin",
|
|
"description": "VS Code support for Gotlin (.gt) files",
|
|
"version": "0.0.1",
|
|
"publisher": "local",
|
|
"license": "UNLICENSED",
|
|
"engines": {
|
|
"vscode": "^1.90.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"activationEvents": [
|
|
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "gotlin",
|
|
"aliases": [
|
|
"Gotlin",
|
|
"gotlin"
|
|
],
|
|
"extensions": [
|
|
".gt"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "gotlin",
|
|
"path": "./snippets/gotlin.code-snippets"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "gotlin",
|
|
"scopeName": "source.gotlin",
|
|
"path": "./syntaxes/gotlin.tmLanguage.json"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Gotlin",
|
|
"properties": {
|
|
"gotlin.serverPath": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Absolute path to the gotlin-lsp binary. If empty, the extension tries <workspace>/bin/gotlin-lsp first, then 'gotlin-lsp' on PATH."
|
|
},
|
|
"gotlin.goplsPath": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Absolute path to gopls. If empty, gotlin-lsp tries 'gopls' on PATH."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p .",
|
|
"watch": "tsc -w -p ."
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.10",
|
|
"@types/vscode": "^1.90.0",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|