You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Add option to disable ngcc
* feat: add command to run ngcc manually
* feat(extension): Add option to force strict templates
* feat(extension): Update untrusted workspace support
* feat provide folding ranges for inline templates
* Ensure Angular code actions are only retrieved in angular contexts
* feat: Add option to disable code actions
* Revert "feat: Add option to disable code actions"
This reverts commit 9b40f81.
* feat: Remove ngcc from extension
* refactor: remove support for VE projects
* feat: Support inline styles as string
* fix: fix detection of Angular context after string interpolation
* refactor(client): Show warning message if a project uses a newer version than extension
* fix: Disable block syntax parsing when no project in workspace supports it
* feat(client): v17.0.1
- upgrade server to v17.0.1
- support to show the tag info in the jsDoc
- remove view-engine config option
- remove provideCompletionItem middleware
An angular language service coc extension for (neo)vim 💖
7
7
8
-
**Note:**require nodejs >= v12 for `view-engine` and nodejs >= v14 for `lvy`
8
+
**Note:**only version <= 13.3.6 support view-engine
9
9
10
10
## Install
11
11
@@ -39,7 +39,6 @@ and external templates including:
39
39
40
40
-`angular.trace.server` enable angular language server trace log
41
41
-`angular.log` 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.
42
-
-`angular.view-engine` Use legacy View Engine language service.
43
42
-`angular.suggest.includeAutomaticOptionalChainCompletions` Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires TS 3.7+ and strict null checks to be enabled.
44
43
-`angular.suggest.includeCompletionsWithSnippetText` Enable/disable snippet completions from Angular language server. Requires using TypeScript 4.3+ in the workspace and the `legacy View Engine` option to be disabled.
Copy file name to clipboardExpand all lines: package.json
+20-18Lines changed: 20 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "coc-angular",
3
3
"description": "Editor services for Angular templates",
4
-
"version": "13.3.6",
4
+
"version": "17.0.1",
5
5
"keywords": [
6
6
"coc.nvim",
7
7
"angular",
@@ -16,12 +16,15 @@
16
16
"url": "https://github.com/iamcco/coc-angular"
17
17
},
18
18
"engines": {
19
-
"coc": "^0.0.80"
19
+
"coc": "^0.0.82"
20
20
},
21
21
"capabilities": {
22
22
"untrustedWorkspaces": {
23
-
"supported": false,
24
-
"description": "This extension requires workspace trust because it needs to execute ngcc from the node_modules in the workspace."
23
+
"supported": true
24
+
},
25
+
"virtualWorkspaces": {
26
+
"supported": "limited",
27
+
"description": "The Language Server Protocol does not support remote file systems. Functionality is limited to syntax highlighting only."
25
28
}
26
29
},
27
30
"main": "./out/index.js",
@@ -81,11 +84,6 @@
81
84
"default": "off",
82
85
"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."
83
86
},
84
-
"angular.view-engine": {
85
-
"type": "boolean",
86
-
"default": false,
87
-
"description": "Use legacy View Engine language service. This option is incompatible with projects using Angular v13 and above."
88
-
},
89
87
"angular.enable-strict-mode-prompt": {
90
88
"type": "boolean",
91
89
"default": true,
@@ -100,6 +98,11 @@
100
98
"type": "boolean",
101
99
"default": true,
102
100
"description": "Enable/disable snippet completions from Angular language server. Requires using TypeScript 4.3+ in the workspace and the `legacy View Engine` option to be disabled."
101
+
},
102
+
"angular.forceStrictTemplates": {
103
+
"type": "boolean",
104
+
"default": false,
105
+
"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`."
`The workspace contains a project that does not support legacy View Engine (Angular v13+) and a project that does not support the new current runtime (v8 and below).`+
484
-
`The extension will not work for the legacy project in this workspace.`);
0 commit comments