[vscode language service extension] Rename its references automatically when selector changes
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- angular, typescript, vscode
- Domínio
- developer-experience, tooling
Direção de pesquisa
Start by reading the Angular VS Code language service extension and how it handles directive and component selectors. Define the rename behavior for selector changes, including references across the codebase, then verify that only matching selector usages are updated without affecting unrelated text.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Which @angular/* package(s) are relevant/related to the feature request?
No response
Description
Note: I do not know if this is the correct forum to raise this query related to vscode angular language service extension. But the extension page lead me to this forum.
In vscode, when i change the selector of a directive class, say 'selector': '[highlight]' change to 'selector':'[highlight1]'
attribute highlight that appears on all the elements in entire codebase does not automatically change to highlight1
Proposed solution
Changing the selector of a directive class should also change the selector that are applied to all the elements. Intellij can do this, but vscode unable to.
This should not be constrainted just to directive, but also to Component as well.
Alternatives considered
Rename the selector used on all elements manually by hand, which can be tedious, let alone be error prone. Can also use find and replace, but again, can accidentally change something unintended.
- Linguagem predominante
- TypeScript
- Estrelas
- 101k
- Forks
- 29.6k
- Merge médio
- 1d 20h
- PRs com merge (30d)
- 345
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de angular/angular
-
Signal forms: `required()`, `min()`, and other built-in rules create an injector for every fieldTalvez já em andamento @splincode assumiu há 3 dias. Abertaarea: forms forms: signals
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
resource.reload() while params is in error switches the resource to 'idle' instead of retryingAbertaarea: core
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
angular/angular#71585 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Event replay: early event contract listeners on <body> are never removed after hydrationTalvez já em andamento @arturovt assumiu há 12 dias. Abertaarea: core
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
area: compiler
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
angular/angular#71511 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
resource: destroying a resource calls AbortController.abort() without a reason, creating an AbortError with a stack trace each timeTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaarea: core cross-cutting: resource
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
angular/angular#71422 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de angular/angular
Issues semelhantes
-
🐛 bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
LibreChat-AI/LibreChat#17733 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
TypeStrong/typedoc#3150 ·
-
accessibility bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
Normalize image-source MIME types before SVG dispatchTalvez já em andamento @HarsH-1877 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
tscircuit/image-utils#58 · 1 comentário ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 2 dias