init
This commit is contained in:
commit
8f4f858d86
30 changed files with 9765 additions and 0 deletions
73
tools/vscode-gotlin/package.json
Normal file
73
tools/vscode-gotlin/package.json
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue