-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Autocomplete No Longer Works With Angular 6 #256
Comments
some project can work some can't.Why? |
Not working for me too.. Need help.. |
@chuckjaz It seems the autocomplete feature is not working for Angular & Material 6+. The extension uses |
@ewaschenko How to complie by self?Is it simple?I git source but it seems complie on linux() |
Yeah, this plugin is doing nothing for me. In the output, I'm seeing the following logs being constantly repeated as I configure my HTML file
Where X is some number |
@parion I'm getting the same thing as you when I type a variable that should be autocompleted.
I checked out a project where autocomplete works, and I get similar stats. |
Ok so that's not useful. Might try forking the project this weekend and see if I can find a solution or the bug myself to get this plugin working again with Angular 6. Doesn't help I have little Angular experience, but I really want this plugin to work. |
@parion If you create a new project with |
The project I'm currently working on where I'm having this issue was created by the CLI with |
@parion I want to help with updating source,but some type declarations and extension apis I can not find document . |
Here isn`t working as well. Created a new project with "ng new" and there is no intellisense, auto-completion/import. |
Same happening here. Is there any way to downgrade the extension? |
Same error here, I've seen that the auto completion seems to be available again once the package has been manually import. |
How did you manually import the package @AndresVD21? |
Just do something like: import { } from '@angular/router' And then try to use any module like RouterModule then VSCode will autocomplete the imports normally from that package. |
That's a feature of VS Code as methods and properties are autocompleted from imported packages. This works even with Angular Language Service disabled. |
Also found that the language service does not apply autocomplete or navigation for directives, according to the Angular Docs it should:
I created a simple directive, added it to my I also found out that autocomplete works for me if I'm using the @chuckjaz Any Updates? |
Same here. Any Updates? |
None it seems. This project was updated over half a year ago, with no further updates from the owner. It may be dead. |
v0.1.10 is out with angular-language-service 6.1 and TS 2.7, thanks @kyliau |
I still dont have autocomplete on HTML Templates. Is there a way to debug this? |
Yes I have the same problem |
The same problem for me too. Create the project with |
I have found the solution. Create |
that didn't work out for me. I don't have any symbols in my path. |
Write your angular/cli version and path of working project. I use angular cli 7.0.4, typescript 3.1.3, node 10.13.0 and "C:\Global Projects{name of foulder}" |
D:\Projekte{name of the folder} is my config |
Try for intresting the latest angular/cli (7.0.4), I remember somewhere I see bug fix commit in angular github repository, maybe in your version you havn't it. If updating to latest version of cli doesn't help, you can change localization language of VS Code to English (if possible), and check version of Angular Language Service extansion. Is VS Code installed in D harddrive? |
Nothing works for me too. can anyone help? |
i updated all deps and my vscode is on the same harddrive as my project |
I had the same problem with the extension not working but I have it working now. What helped me was a suggestion of my friend to check out the logs of the extensions. I didn't find them but this eventually guided me to "Help -> Toggle Developer Tools". It opened devtools just like in Chrome and in the "Console" tab there was an error coming from the extension. The error was something like "The language client requires VS Code version ^1.26 but received version 1.25.1". After updating the VS Code itself the problem disappeared and the extension is working now. |
Nothing worked for me. Does anyone have update on this? |
disable all extensions in VSCode, Installing in your project and "use workspace version" of typescript {
"typescript.tsdk": "node_modules/typescript/lib"
} helps me |
@samuelt1 do you mind sharing how your |
I have the same problem that @samuelt1 This is my tsconfig.json
|
@fabianedl777 Issue is tracked by angular/angular#21729 I'm closing this since a lot of the recent comments are not related to the original issue. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
With my current project that I have upgraded since Angular 2, the plugin's autocomplete no longer works with Angular 6. The plugin is able to provide errors, hints, and navigation only after the variable has been fully typed and a few seconds have passed.
I just created a brand new project with
ng new my-app
, opened the project in VS Code and installed the plugin and I get the same behavior, autocomplete not working.Also not getting any autocomplete for the
Material CDK
. For examplecdkConnectedOverlay
as shown herehttps://youtu.be/kYDLlfpTLEA?t=612
Angular CLI: 6.0.5
Angular: 6.0.3
Typescript: 2.7.2
The text was updated successfully, but these errors were encountered: