No more completion for components / HTML tags in Ivy mode
See original GitHub issueDescribe the bug
When enabling the Ivy language service, there is no more components / HTML tags completion/suggestions at all.
To Reproduce
Steps to reproduce the behavior:
npm i @angular/cli -g
ng new demo --inline-template
(and say “Yes” to strict mode)cd demo
code .
- Enable extension’s Ivy mode when proposed
- Try writing any HTML tag in
AppComponent
template: no autocomplete at all ng g component demo
- Try writing
<app-de
inAppComponent
template: no autocomplete at all (but if I manually write the full tag, the language service is OK with it)
Note: there is the same issue with external templates (in this case you have HTML tags autocomplete because it’s a HTML file, but you have no more components tags autocomplete).
Expected behavior
Components / HTML tags should be suggested.
Logs
[Info - 4:44:27 PM] Angular language server process ID: 6223
[Info - 4:44:27 PM] Using typescript/lib/tsserverlibrary v4.1.5 from /Users/xxx/.vscode/extensions/angular.ng-template-11.2.2/node_modules/typescript/lib/tsserverlibrary.js
[Info - 4:44:27 PM] Using @angular/language-service/bundles/ivy v11.2.1 from /Users/xxx/.vscode/extensions/angular.ng-template-11.2.2/node_modules/@angular/language-service/bundles/ivy.js
[Info - 4:44:27 PM] Log file: /Users/xxx/Library/Application Support/Code/logs/20210222T163701/exthost1/Angular.ng-template/nglangsvc.log
[Info - 4:44:30 PM] Enabling Ivy language service for /Users/xxx/xxx/xxx/lsivyissue/tsconfig.json.
The log file is empty.
Additional context
VS Code version: 1.53.2 Extension and Angular project version: 11.2.2 OS: macOS 11.2.1 (Intel) No other extension.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:5
Top Results From Across the Web
Understanding Angular Ivy Library Compilation | lacolaco/tech
In this post, I will explain how to compile Angular libraries with Ivy, which is now possible in Angular v11.1, and its details....
Read more >Build Times, Bundle Sizes, and Other Improvements Made by ...
This article covers Ivy, Angular's next-gen compilation pipeline, and the new and exciting improvements that came with the Version 9 ...
Read more >All you need to know about Ivy, The new Angular engine!
Angular Ivy — The complete guide for the 3rd generation of the Angular ... In Ivy that becomes much more simpler, every component...
Read more >Newest 'angular-ivy' Questions - Stack Overflow
I'm using angular 13 and I have a test library which contains 2 components: lib1 and lib2. I want to use lib2 compoment...
Read more >Components - Axon.ivy 7.4 | Axon.ivy Portal Documentation
Portal widgets should be implemented using the Html Dialog Component technology from Axon.ivy and follow the famous model-view-controller pattern.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1
I have the same issue. As a quick fix, disabling the experimental Ivy features in VS Code settings, the completion returns to expected behavior.
Same behavior + always crash
Thanks