angular / vscode-ng-language-service

Angular extension for Visual Studio Code
MIT License
779 stars 117 forks source link

Rename symbol for HTML tags not working like default HTML files #2077

Open nick-allen opened 2 months ago

nick-allen commented 2 months ago

🐞 bug report

Is this a regression?

Assume so, but not sure in what version.

Description

A clear and concise description of the problem... F2 / Rename symbol command when targeting an HTML tag would allow renaming the opening and closing tags in default HTML files. When working with the Angular language service, the following is always shown instead: image ## Bug Type What does this bug affect

Reproduction

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

The same behavior as when the Angular language service is disabled and editing an HTML file:

image

🌍 Your Environment

Angular Version:




Angular CLI: 18.1.1
Node: 20.11.1
Package Manager: yarn 4.3.1
OS: darwin arm64

Angular: 18.1.1
... animations, build, cdk, cli, common, compiler, compiler-cli
... core, forms, language-service, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1801.1
@angular-devkit/build-angular   18.1.1
@angular-devkit/core            18.1.1
@angular-devkit/schematics      18.1.1
@angular/google-maps            17.2.1
@schematics/angular             18.1.1
rxjs                            7.8.1
typescript                      5.5.3
zone.js                         0.14.4

Extension Version:




v18.1.2

VSCode Version:




Version: 1.92.0 (Universal)
Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
Date: 2024-07-31T23:26:45.634Z (5 days ago)
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.5.0

Operating System:




macOS 14.5 (23F79)