-
-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Labels
questionA user questionA user question
Description
Is your feature request related to a problem? Please describe.
- VSCode's
Rename Symbol
only works within a single .svelte file - component attributes do not have autocompletion or type information
Example:
Counter.svelte
<script lang="ts">
export let count = 0
</script>
index.svelte
<!-- neither of these will update when using VSCode's `Rename Symbol` on the `count` definition @ Counter.svelte -->
<Counter count={5}/>
<Counter count={"7"}/> <!-- should result in error "Type 'string' is not assignable to type 'number'. ts(2322)" -->
Describe the solution you'd like
Rename Symbol
should update all references within a project- component attributes should have autocompletion and type information
How important is this feature to you?
Absolutely essential. Not being able to use the code intelligence features of TypeScript + VSCode detracts greatly from the development experience and nullifies critical debugging safeguards which are one of the main reasons to use TypeScript in the first place.
Metadata
Metadata
Assignees
Labels
questionA user questionA user question