2020-09-17 19:59:10 +00:00
|
|
|
{
|
2020-09-18 15:48:45 +00:00
|
|
|
"name": "angelscript-languageserver",
|
|
|
|
"description": "Language server for Angelscript, provides grammars and basic compile checks.",
|
|
|
|
"author": "Deukhoofd",
|
2020-09-18 16:12:47 +00:00
|
|
|
"publisher": "Deukhoofd",
|
2020-09-17 19:59:10 +00:00
|
|
|
"license": "MIT",
|
2021-10-24 10:36:35 +00:00
|
|
|
"version": "1.2.0",
|
2020-09-17 19:59:10 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-09-18 15:48:45 +00:00
|
|
|
"url": "https://git.p-epsilon.com/Deukhoofd/AngelscriptLanguageServer"
|
2020-09-17 19:59:10 +00:00
|
|
|
},
|
|
|
|
"categories": [],
|
|
|
|
"keywords": [
|
2020-09-18 16:12:47 +00:00
|
|
|
"Angelscript"
|
2020-09-17 19:59:10 +00:00
|
|
|
],
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.43.0"
|
|
|
|
},
|
|
|
|
"activationEvents": [
|
2021-10-23 12:03:31 +00:00
|
|
|
"onLanguage:Angelscript",
|
|
|
|
"onLanguage:AngelscriptTypeDefinition"
|
2020-09-17 19:59:10 +00:00
|
|
|
],
|
|
|
|
"main": "./client/out/extension",
|
|
|
|
"contributes": {
|
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
2020-09-18 15:48:45 +00:00
|
|
|
"title": "Angelscript",
|
2020-09-17 19:59:10 +00:00
|
|
|
"properties": {
|
2020-09-18 15:48:45 +00:00
|
|
|
"angelscript-languageserver.trace.server": {
|
2020-09-17 19:59:10 +00:00
|
|
|
"scope": "window",
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"off",
|
|
|
|
"messages",
|
|
|
|
"verbose"
|
|
|
|
],
|
|
|
|
"default": "off",
|
|
|
|
"description": "Traces the communication between VS Code and the language server."
|
2021-10-24 10:08:34 +00:00
|
|
|
},
|
|
|
|
"angelscript-languageserver.defines": {
|
|
|
|
"scope": "window",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2021-10-24 10:35:26 +00:00
|
|
|
},
|
|
|
|
"angelscript-languageserver.engine-settings": {
|
|
|
|
"scope": "window",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"asEP_ALLOW_UNSAFE_REFERENCES": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_OPTIMIZE_BYTECODE": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"asEP_COPY_SCRIPT_SECTIONS": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"asEP_MAX_STACK_SIZE ": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 0
|
|
|
|
},
|
|
|
|
"asEP_USE_CHARACTER_LITERALS": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_ALLOW_MULTILINE_STRINGS ": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_ALLOW_IMPLICIT_HANDLE_TYPES": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_BUILD_WITHOUT_LINE_CUES": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_INIT_GLOBAL_VARS_AFTER_BUILD": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"asEP_REQUIRE_ENUM_SCOPE": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"asEP_SCRIPT_SCANNER": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 1,
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"asEP_INCLUDE_JIT_INSTRUCTIONS": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_STRING_ENCODING": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 0,
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"asEP_PROPERTY_ACCESSOR_MODE": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 3,
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
3
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"asEP_EXPAND_DEF_ARRAY_TO_TMPL": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_AUTO_GARBAGE_COLLECT": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"asEP_DISALLOW_GLOBAL_VARS": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_ALWAYS_IMPL_DEFAULT_CONSTRUCT": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_COMPILER_WARNINGS": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 1,
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_ALTER_SYNTAX_NAMED_ARGS": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 0,
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"asEP_DISABLE_INTEGER_DIVISION": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_DISALLOW_EMPTY_LIST_ELEMENTS": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_PRIVATE_PROP_AS_PROTECTED": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_ALLOW_UNICODE_IDENTIFIERS": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"asEP_HEREDOC_TRIM_MODE": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 1,
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"asEP_MAX_NESTED_CALLS": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 100
|
|
|
|
},
|
|
|
|
"asEP_GENERIC_CALL_MODE": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 1,
|
|
|
|
"enum": [
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"asEP_INIT_STACK_SIZE": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 4096
|
|
|
|
},
|
|
|
|
"asEP_INIT_CALL_STACK_SIZE ": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 10
|
|
|
|
},
|
|
|
|
"asEP_MAX_CALL_STACK_SIZE": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2020-09-17 19:59:10 +00:00
|
|
|
}
|
|
|
|
}
|
2020-09-18 15:48:45 +00:00
|
|
|
},
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "Angelscript",
|
|
|
|
"filenamePatterns": [
|
|
|
|
"*.as"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
2021-10-23 12:03:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "AngelscriptTypeDefinition",
|
|
|
|
"filenamePatterns": [
|
|
|
|
"*.astypedef"
|
|
|
|
],
|
|
|
|
"configuration": "./astypedef-configuration.json"
|
2020-09-18 15:48:45 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "Angelscript",
|
|
|
|
"scopeName": "source.angelscript",
|
|
|
|
"path": "./syntaxes/as.tmGrammar"
|
2021-10-23 12:03:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "AngelscriptTypeDefinition",
|
|
|
|
"scopeName": "source.angelscript",
|
|
|
|
"path": "./syntaxes/astypedef.tmGrammar"
|
2020-09-18 15:48:45 +00:00
|
|
|
}
|
|
|
|
]
|
2020-09-17 19:59:10 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run compile",
|
|
|
|
"compile": "tsc -b",
|
|
|
|
"watch": "tsc -b -w",
|
|
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
|
|
|
|
"test": "sh ./scripts/e2e.sh"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/mocha": "^8.0.3",
|
|
|
|
"mocha": "^8.1.1",
|
|
|
|
"@types/node": "^12.12.0",
|
|
|
|
"eslint": "^6.4.0",
|
|
|
|
"@typescript-eslint/parser": "^2.3.0",
|
|
|
|
"typescript": "^4.0.2"
|
|
|
|
}
|
2021-10-24 10:35:26 +00:00
|
|
|
}
|