Skip to content

Commit 17db23a

Browse files
Chore: Bump @angular/language-server from 19.2.3 to 20.2.2 in /server (#147)
* Chore: Bump @angular/language-server from 19.2.3 to 20.2.2 in /server Bumps [@angular/language-server](https://github.com/angular/vscode-ng-language-service) from 19.2.3 to 20.2.2. - [Release notes](https://github.com/angular/vscode-ng-language-service/releases) - [Changelog](https://github.com/angular/vscode-ng-language-service/blob/main/CHANGELOG.md) - [Commits](angular/vscode-ng-language-service@v19.2.3...v20.2.2) --- updated-dependencies: - dependency-name: "@angular/language-server" dependency-version: 20.2.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Add json schema --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Предраг Николић <idmpepe@gmail.com>
1 parent 0bb1d52 commit 17db23a

File tree

4 files changed

+125
-21
lines changed

4 files changed

+125
-21
lines changed

LSP-angular.sublime-settings

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@
1010
"selector": "text.html.ngx | source.ts | source.js",
1111
"disabled_capabilities": {},
1212
"initializationOptions": {},
13-
"settings": {},
13+
"settings": {
14+
"angular.log": "off",
15+
"angular.enable-strict-mode-prompt": true,
16+
"angular.suggest.includeAutomaticOptionalChainCompletions": true,
17+
"angular.suggest.includeCompletionsWithSnippetText": true,
18+
"angular.suggest.autoImports": true,
19+
"angular.forceStrictTemplates": false,
20+
"angular.suppressAngularDiagnosticCodes": ""
21+
},
1422
"env": {
1523
"TSC_NONPOLLING_WATCHER": "true"
1624
}

server/package-lock.json

Lines changed: 17 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sublime-ngls",
33
"version": "1.0.0",
44
"dependencies": {
5-
"@angular/language-server": "^19.2.3",
5+
"@angular/language-server": "^20.2.2",
66
"typescript": "^5.9.2"
77
}
88
}

sublime-package.json

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"contributions": {
3+
"settings": [
4+
{
5+
"file_patterns": [
6+
"/LSP-angular.sublime-settings"
7+
],
8+
"schema": {
9+
"$id": "sublime://settings/LSP-angular",
10+
"allOf": [
11+
{
12+
"$ref": "sublime://settings/LSP-plugin-base"
13+
},
14+
{
15+
"$ref": "sublime://settings/LSP-angular#/definitions/PluginConfig"
16+
}
17+
],
18+
"definitions": {
19+
"PluginConfig": {
20+
"properties": {
21+
"initializationOptions": {
22+
"additionalProperties": false,
23+
"properties": {}
24+
},
25+
"settings": {
26+
"additionalProperties": false,
27+
"properties": {
28+
"angular.log": {
29+
"type": "string",
30+
"enum": [
31+
"off",
32+
"terse",
33+
"normal",
34+
"verbose"
35+
],
36+
"default": "off",
37+
"description": "Enables logging of the Angular server to a file. This log can be used to diagnose Angular Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project."
38+
},
39+
"angular.enable-strict-mode-prompt": {
40+
"type": "boolean",
41+
"default": true,
42+
"markdownDescription": "Prompt to enable the [strictTemplates](https://angular.dev/reference/configs/angular-compiler-options#stricttemplates) flag in [angularCompilerOptions](https://angular.dev/reference/configs/angular-compiler-options). Note that strict mode is only available when using Ivy."
43+
},
44+
"angular.suggest.includeAutomaticOptionalChainCompletions": {
45+
"type": "boolean",
46+
"default": true,
47+
"markdownDescription": "Enable showing completions on potentially undefined values that insert an optional chain call. Requires TS 3.7+ and strict null checks to be enabled."
48+
},
49+
"angular.suggest.includeCompletionsWithSnippetText": {
50+
"type": "boolean",
51+
"default": true,
52+
"markdownDescription": "Enable snippet completions from Angular language server. Requires using TypeScript 4.3+ in the workspace."
53+
},
54+
"angular.suggest.autoImports": {
55+
"type": "boolean",
56+
"default": true,
57+
"markdownDescription": "Enable/disable auto import suggestions for the exported Angular components from the current project."
58+
},
59+
"angular.forceStrictTemplates": {
60+
"type": "boolean",
61+
"default": false,
62+
"markdownDescription": "Enabling this option will force the language service to use [strictTemplates](https://angular.dev/reference/configs/angular-compiler-options#stricttemplates) and ignore the user settings in the `tsconfig.json`."
63+
},
64+
"angular.suppressAngularDiagnosticCodes": {
65+
"type": "string",
66+
"default": "",
67+
"markdownDescription": "A comma-separated list of error codes in templates whose diagnostics should be ignored."
68+
}
69+
}
70+
}
71+
}
72+
}
73+
}
74+
}
75+
},
76+
{
77+
"file_patterns": [
78+
"/*.sublime-project"
79+
],
80+
"schema": {
81+
"properties": {
82+
"settings": {
83+
"properties": {
84+
"LSP": {
85+
"properties": {
86+
"LSP-angular": {
87+
"$ref": "sublime://settings/LSP-angular#/definitions/PluginConfig"
88+
}
89+
}
90+
}
91+
}
92+
}
93+
}
94+
}
95+
}
96+
]
97+
}
98+
}

0 commit comments

Comments
 (0)