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

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

Open
1 of 2 tasks
nick-allen opened this issue Aug 6, 2024 · 0 comments
Open
1 of 2 tasks

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

nick-allen opened this issue Aug 6, 2024 · 0 comments
Labels

Comments

@nick-allen
Copy link

nick-allen commented Aug 6, 2024

🐞 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

  • Angular Language Service VSCode extension
  • Angular Language Service server

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)
@nick-allen nick-allen added the bug label Aug 6, 2024
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

1 participant