Skip to content
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

Intellisense works very slowly #44

Closed
anna-zhernovkova opened this issue Mar 17, 2017 · 15 comments
Closed

Intellisense works very slowly #44

anna-zhernovkova opened this issue Mar 17, 2017 · 15 comments

Comments

@anna-zhernovkova
Copy link

We have a package of about 200 components with 50 attributes in each. Execution of each action takes from several seconds up to a minute.  

The language-service package's version is 2.4.9
Extension version is 0.0.12
Project for reproduce - intellisense-test.zip

Steps to reproduce:

  1. Install packages.
  2. Go to src/app/app.component.html.
  3. Type "<dx" and press Ctrl+Space <- a delay will occur here
  4. Select the "dx-button" component after loading components.
  5. Close the new tag and try to type a new attribute for it (for example, "(onClick)") <- a delay will occur.
@chuckjaz
Copy link
Contributor

PR angular/angular#15543 address this. It should make it to a release by Wednesday or Thursday.

@chuckjaz
Copy link
Contributor

chuckjaz commented Apr 3, 2017

Improved in 0.1.1. I will close this for now but I plan to continue to work on performance in this area.

@nasreddineskandrani
Copy link

nasreddineskandrani commented Sep 27, 2018

@chuckjaz
Hi,
ctrl + click is not working proprely (slow) in 3 differents code base i used for 3 real products using angular.
I decided to investigate and i found that the problem is coming from vscode-ng-language-service (i referenced the issue from vscode repo microsoft/vscode#53541)

Since i can't share the code of the 3 private repos. I decided to hunt for a way to reproduce it in a public repo and i found one.

So the steps to reproduce are:

I hope you can reproduce it with these steps. Let me know.

Voila. i don't know for now how i can debug it but if you can't work on it => I can try.
It's a problem in angular projects right now that use john papa extension package that include your extension https://johnpapa.net/essential-angular-vs-code-extensions/
(it's popular which impact a lot of devs/companies).

vscode: 1.27.2
vscode-ng-language-service: 0.1.10

@matheusdavidson
Copy link

it is indeed very slow, disabling language service fixes, would like to use it but intellisense is too slow

@NSExceptional
Copy link

Also slow on macOS on the latest version at the time of writing. C/C++.

@muehlburger
Copy link

It's also slow on MacOS on the latest version for writing Go.

@wbhob
Copy link

wbhob commented May 10, 2019

I still frequently experience this issue with 0.1.11. Are there any plans to dive into this deeper?

macOS 10.14.4
VS Code 1.33.1
NGLS 0.1.11

@gittar
Copy link

gittar commented May 19, 2019

same here, makes intellisense mostly unusable. This is i.m.o. more relevant than many other features since it affects basically the whole userbase. Anyone fixing this would be my hero :-)

ubuntu 18.04 LTS
VS Code 1.33.1

@Yonben
Copy link

Yonben commented May 20, 2019

Same for me. IntelliSense is extremely slow, very very frustrating experience :/

macOS 10.14.4
VS Code 1.34.0

@wbhob
Copy link

wbhob commented May 20, 2019

@gittar @Yonben how big are your projects? My theory is that it may be a side effect of huge projects (ours has hundreds of components), but it would be interesting if it's happening to you on a smaller project

@Yonben
Copy link

Yonben commented May 21, 2019

@wbhob Gotta admit I made a mistake. I thought I was in the vscode repo. For me, it's not an angular project... Thanks though, sorry for the notifications :/

@gittar
Copy link

gittar commented May 21, 2019 via email

@wbhob
Copy link

wbhob commented May 21, 2019

Ok. My next thought is this is a memory/optimization issue. I typically experience this after openning a few windows and closing them I think; it's intermittent now. @chuckjaz – do you have any news or updates about this performance issue since you last commented?

@Yonben
Copy link

Yonben commented May 21, 2019 via email

@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 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants