|
135 | 135 | "type": "boolean", |
136 | 136 | "default": false, |
137 | 137 | "markdownDescription": "Enabling this option will force the language service to use [strictTemplates](https://angular.io/guide/angular-compiler-options#stricttemplates) and ignore the user settings in the `tsconfig.json`." |
| 138 | + }, |
| 139 | + "angular.suppressAngularDiagnosticCodes": { |
| 140 | + "type": "string", |
| 141 | + "default": "", |
| 142 | + "markdownDescription": "A comma-separated list of error codes in templates whose diagnostics should be ignored." |
138 | 143 | } |
139 | 144 | } |
140 | 145 | }, |
|
164 | 169 | { |
165 | 170 | "path": "./syntaxes/template.json", |
166 | 171 | "scopeName": "template.ng", |
167 | | - "injectTo": ["text.html.derivative", "source.ts"], |
| 172 | + "injectTo": [ |
| 173 | + "text.html.derivative", |
| 174 | + "source.ts" |
| 175 | + ], |
168 | 176 | "embeddedLanguages": { |
169 | 177 | "text.html": "html", |
170 | 178 | "source.css": "css", |
|
174 | 182 | { |
175 | 183 | "path": "./syntaxes/template-blocks.json", |
176 | 184 | "scopeName": "template.blocks.ng", |
177 | | - "injectTo": ["text.html.derivative", "source.ts"], |
| 185 | + "injectTo": [ |
| 186 | + "text.html.derivative", |
| 187 | + "source.ts" |
| 188 | + ], |
178 | 189 | "embeddedLanguages": { |
179 | 190 | "text.html": "html", |
180 | 191 | "control.block.expression.ng": "javascript", |
|
184 | 195 | { |
185 | 196 | "path": "./syntaxes/let-declaration.json", |
186 | 197 | "scopeName": "template.let.ng", |
187 | | - "injectTo": ["text.html.derivative", "source.ts"] |
| 198 | + "injectTo": [ |
| 199 | + "text.html.derivative", |
| 200 | + "source.ts" |
| 201 | + ] |
188 | 202 | }, |
189 | 203 | { |
190 | 204 | "path": "./syntaxes/template-tag.json", |
|
231 | 245 | "test:legacy-syntaxes": "yarn compile:syntaxes-test && yarn build:syntaxes && jasmine dist/syntaxes/test/driver.js" |
232 | 246 | }, |
233 | 247 | "dependencies": { |
234 | | - "@angular/language-service": "~19.0.0-next.3", |
| 248 | + "@angular/language-service": "~19.0.0-next.4", |
235 | 249 | "typescript": "5.6.1-rc", |
236 | 250 | "vscode-html-languageservice": "^4.2.5", |
237 | 251 | "vscode-jsonrpc": "6.0.0", |
|
0 commit comments