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

Performance Issues: Slow Response, Requires Frequent Restarts, Affects TS Files #2131

Open
1 of 2 tasks
bmitchenko opened this issue Dec 19, 2024 · 1 comment
Open
1 of 2 tasks
Labels

Comments

@bmitchenko
Copy link

bmitchenko commented Dec 19, 2024

Is this a regression?

Unknown, but recent updates seem to have worsened the issue.

Description

The Angular Language Service in VSCode is significantly slowing down development. The extension often becomes unresponsive, leading to delays in template and TypeScript file analysis. Restarting the extension temporarily resolves the issue but hampers workflow. These problems are consistent with the experiences shared by users in the VSCode Marketplace reviews.

Key Issues:

  • Extremely slow response time when editing Angular templates or TypeScript files.
  • The extension requires frequent restarts to restore functionality.
  • Development performance is degraded even when working on non-template (TS) files.

Bug Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Reproduction

Steps to reproduce the behavior:

  1. Open an Angular workspace in VSCode with the Angular Language Service enabled.
  2. Begin editing a template or TypeScript file.
  3. Observe the increasing latency in language features (e.g., intellisense, error highlighting).
  4. Notice that restarting the extension temporarily improves performance, but the issue recurs.

Expected behavior

The Angular Language Service should provide quick and responsive language features without requiring frequent restarts or causing performance issues.

🌍 Your Environment

Angular Version:

Angular: 19.0.1
Angular CLI: 19.0.2
Node: 22.9.0
Package Manager: npm 10.8.3
OS: win32 x64

Extension Version:

19.0.3

VSCode Version:

Version: 1.96.1 (user setup)
Commit: 42b266171e51a016313f47d0c48aca9295b9cbb2
Date: 2024-12-17T17:50:05.206Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26100

Operating System:

Windows 11 Home 24H2 OS Build 26100.2314

Extension options:

Default settings.
@bmitchenko bmitchenko added the bug label Dec 19, 2024
@glued
Copy link

glued commented Dec 21, 2024

seeing this too ever since updating to Angular 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants