Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191{ "name": "thrift-ls", "displayName": "Thrift Language Server", "description": "Language server and formatter for Apache Thrift IDL files", "version": "0.2.2", "publisher": "karitham", "license": "Apache-2.0", "engines": { "vscode": "^1.85.0" }, "categories": ["Programming Languages", "Formatters", "Linters"], "keywords": ["thrift", "idl", "lsp", "formatter"], "activationEvents": [ "onLanguage:thrift", "onCommand:thrift-ls.downloadServer", "onCommand:thrift-ls.openReleases" ], "main": "./out/extension.js", "contributes": { "configurationDefaults": { "[thrift]": { "editor.defaultFormatter": "karitham.thrift-ls" } }, "languages": [ { "id": "thrift", "aliases": ["Thrift", "thrift"], "extensions": [".thrift"], "configuration": "./language-configuration.json" } ], "commands": [ { "command": "thrift-ls.downloadServer", "title": "Thrift: Download / Update Language Server" }, { "command": "thrift-ls.openReleases", "title": "Thrift: Open Releases Page" } ], "configuration": { "title": "thrift-ls", "properties": { "thrift-ls.path": { "type": "string", "default": "", "markdownDescription": "Absolute path to the `thrift-ls` binary. Empty (default): search `PATH`, then prompt to download the latest release binary into the extension's storage." }, "thrift-ls.printWidth": { "type": "number", "default": 80, "markdownDescription": "Target line width for breaking decisions. Overrides the `thrift-ls.json` config file." }, "thrift-ls.indent": { "type": "string", "default": " ", "markdownDescription": "Indentation: a literal string of spaces or tabs, e.g. `\" \"` or `\"\\t\"`." }, "thrift-ls.tabWidth": { "type": "number", "default": 4, "markdownDescription": "Display width of a tab when measuring line width." }, "thrift-ls.align": { "type": "string", "default": "field", "enum": ["field", "assign", "disable"], "markdownDescription": "Column alignment of struct/union/exception fields and enum values: `field` (align ids/requiredness/types), `assign` (align `=`), `disable`." }, "thrift-ls.separators.structs": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for struct fields." }, "thrift-ls.separators.unions": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for union fields." }, "thrift-ls.separators.exceptions": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for exception fields." }, "thrift-ls.separators.enums": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for enum values." }, "thrift-ls.separators.arguments": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for function arguments." }, "thrift-ls.separators.throws": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for throws clauses." }, "thrift-ls.separators.lists": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for const list values." }, "thrift-ls.separators.maps": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for const map values." }, "thrift-ls.separators.sets": { "type": "string", "default": "preserve", "enum": ["comma", "semicolon", "none", "preserve"], "markdownDescription": "Trailing separator for const set values." }, "thrift-ls.break.structs": { "type": "boolean", "default": false, "markdownDescription": "Always break struct bodies onto multiple lines." }, "thrift-ls.break.unions": { "type": "boolean", "default": false, "markdownDescription": "Always break union bodies onto multiple lines." }, "thrift-ls.break.exceptions": { "type": "boolean", "default": false, "markdownDescription": "Always break exception bodies onto multiple lines." }, "thrift-ls.break.enums": { "type": "boolean", "default": false, "markdownDescription": "Always break enum bodies onto multiple lines." }, "thrift-ls.break.arguments": { "type": "boolean", "default": false, "markdownDescription": "Always break function arguments onto multiple lines." }, "thrift-ls.break.throws": { "type": "boolean", "default": false, "markdownDescription": "Always break throws clauses onto multiple lines." }, "thrift-ls.break.lists": { "type": "boolean", "default": false, "markdownDescription": "Always break const lists onto multiple lines." }, "thrift-ls.break.maps": { "type": "boolean", "default": false, "markdownDescription": "Always break const maps onto multiple lines." }, "thrift-ls.break.sets": { "type": "boolean", "default": false, "markdownDescription": "Always break const sets onto multiple lines." } } } }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "test": "tsc -p ./ && node --test 'out/*.test.js'", "package": "vsce package" }, "dependencies": { "vscode-languageclient": "^9.0.1" }, "devDependencies": { "@types/node": "^20.14.0", "@types/vscode": "^1.85.0", "@vscode/vsce": "^3.2.0", "typescript": "^5.5.0" }}