Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Slow typescript and template completions with vscode-ng-language-service active #350

Closed

Description

@gayanper

Steps to Reproduce:

  1. Open a medium size angular project with with around 18K lines of typescript code
    The initialization of the language server takes around 2 mins.

  2. Now open a typescript file and try to invoke code completions. That's takes around 10-20 secs to get the completion list.

  3. The second invocation is fast.

  4. Now open another typescript file and invoke code completions. That's takes around 10-20 secs again

  5. This is same for html files as well when completing template code.

This problem is not there if i disable the vscode-ng-language-servic plugin.

Enviroment

VSCode Version: 1.36.1
OS Version: Windows 10 (1903)
angular.ng-template : 0.801.1

Angular Version

Angular CLI: 7.2.3
Node: 10.15.0
OS: win32 x64
Angular: 7.2.0
... animations, cdk, common, compiler, core, forms
... platform-browser, platform-browser-dynamic, router

@angular-devkit/architect 0.12.3 (cli-only)
@angular-devkit/core 7.2.3 (cli-only)
@angular-devkit/schematics 7.2.3 (cli-only)
@schematics/angular 7.2.3 (cli-only)
@schematics/update 0.12.3 (cli-only)
rxjs 6.5.2
typescript 3.1.3

Activity

  1. gayanper commented on Aug 9, 2019

    @gayanper
    Author

    The improvement done at #339 will solve this issue.

  2. JohnnyDevNull commented on Aug 19, 2019

    @JohnnyDevNull

    Posssible duplicate of #336

  3. angular-automatic-lock-bot commented on Feb 16, 2020

    @angular-automatic-lock-bot

    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.

  4. locked and limited conversation to collaborators on Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions