Skip to content

autocomplete not working on windows #401

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

Closed
kyliau opened this issue Sep 18, 2019 · 11 comments
Closed

autocomplete not working on windows #401

kyliau opened this issue Sep 18, 2019 · 11 comments

Comments

@kyliau
Copy link
Contributor

kyliau commented Sep 18, 2019

@kyliau I followed the instructions to install v0.900.0-next.0, however there are no auto-complete suggestions for anything (e.g component selectors, properties, events, etc).

Originally posted by @Proantagonist in #335 (comment)

@kyliau
Copy link
Contributor Author

kyliau commented Sep 18, 2019

@Proantagonist this is most likely because the extension failed to find @angular/language-service, similar to #369
Could you please open the Output tab and inspect the logs?

It should be similar to this:
Screenshot from 2019-09-18 14-52-29

@Proantagonist
Copy link

Certainly. Here is the output:

image

[Info  - 5:52:16 PM] Angular LS probe location: c:\Github\Work\tamu-gisc-monorepo
[Info  - 5:52:16 PM] Success: @angular/language-service loaded
[Info  - 5:52:16 PM] Log file: c:\Users\imacl\AppData\Roaming\Code\logs\20190918T174927\exthost1\Angular.ng-template\nglangsvc.log
[Error - 5:52:18 PM] Failed to find project for c:\Github\Work\tamu-gisc-monorepo\apps\angular-aggiemap-trees\src\app\components\map\map.component.html

@Proantagonist
Copy link

I should add that this VSC workspace is an Nx workspace with multiple libs and apps

The target app is consuming components from libs.

@kyliau
Copy link
Contributor Author

kyliau commented Sep 18, 2019

Ahh ... please open a TS file first, then the HTML. This shall be fixed before the next release.

@kyliau kyliau changed the title Unable to launch language service Extension should be able to find project for HTML file Sep 18, 2019
@Proantagonist
Copy link

Proantagonist commented Sep 18, 2019

Opening a TS file first gets rid of the error, but unfortunately it still does not provide suggestions.

tamu-gisc-layer-filter is a known valid component selector.

xJhFfoDOAt

@kyliau
Copy link
Contributor Author

kyliau commented Sep 19, 2019

Could you please try "Go to definition" for tamu-gisc-layer-filter in the template?
It is likely that @angular/language-service is not found, even though the log message claims that it is loaded. If that's the case, #402 would fix it.

@Proantagonist
Copy link

"Go to definition" navigates to it correctly.

I looked at #402 but I'm not sure I know what to do from here.

Thank you for all your help!

@andrius-pra
Copy link
Contributor

andrius-pra commented Sep 23, 2019

@kyliau, this issue is already fixed here: #367. The pre-release verson(v0.900.0-next.0) doesn't work in windows OS.

@kyliau
Copy link
Contributor Author

kyliau commented Oct 1, 2019

Thanks @andrius-pra, I'll cut another beta release this week with all the fixes.

@kyliau kyliau changed the title Extension should be able to find project for HTML file autocomplete not working on windows Oct 10, 2019
@kyliau
Copy link
Contributor Author

kyliau commented Oct 10, 2019

Closing this, v0.900-.0-next.1 is released.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants