language-tools
language-tools copied to clipboard
Rename doesn't apply to `$$Generics`
Describe the bug
Highlight foo in the snippet below, press F2 to rename and enter any string as new name. foo will not be renamed in $$Generic<foo>.
Reproduction
<script lang="ts">
type foo = string | number
type bar = $$Generic<foo>
</script>
Expected behaviour
If I enter baz as new name for foo, I expect
- type bar = $$Generic<foo>
+ type bar = $$Generic<bar>
System Info
- OS: macOS
- IDE: VSCode
Which package is the issue about?
svelte-language-server
Additional Information, eg. Screenshots
No response