admin管理员组文章数量:1323730
I have the Angular Language Service plugin installed in VSCode and it works fine for most of the angular code autocompletion. However, some of the autocomplete does not work, such as for Pipes and FormsModule. In WebStorm, it works fine.
VSCode
WebStorm
I have the Angular Language Service plugin installed in VSCode and it works fine for most of the angular code autocompletion. However, some of the autocomplete does not work, such as for Pipes and FormsModule. In WebStorm, it works fine.
VSCode
WebStorm
Share Improve this question edited Jan 12 at 8:09 ProgrammingLlama 38.9k7 gold badges77 silver badges102 bronze badges asked Jan 12 at 6:49 sm-sayedism-sayedi 95513 silver badges34 bronze badges2 Answers
Reset to default 0I've searched for this issue and I found these three useful GitHub links that can help you:
- Bug in VSCode Angular Language Service with autocomplete (solution included) : in here the asker founded that everything works correctly if strict typing is disabled within the plugin.
- @angular/language-service slows down VSCode autocomplete on every keystroke : in order to find out why is this issue appearing, you can open the Output tab in VSCode, and check any warning or errors that can give you a clue of what is going on (discussed also in the 3rd link).
- autocomplete not working on windows : In this link it's recommended that your project's
tsconfig.json
is correctly set up and that the Angular Language Service can find all necessary files (discussed also in the 2nd link).
Note that there are also many other related links for your problem (especially in the 2nd link).
I hope it helps you!
import { CommonModule } from '@angular/common';
@Component({
selector: '*',
imports: [CommonModule], // fix
templateUrl: './*ponent.html',
styleUrl: './*ponent.scss'
})
I solved this issue by importing CommonModule
in each module in VSCode.
本文标签: visual studio codeAngular Pipes autocomplete doesn39t work in vscodeStack Overflow
版权声明:本文标题:visual studio code - Angular Pipes autocomplete doesn't work in vscode - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742121122a2421703.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论