Reputation: 6157
I'm using Vuejs3 with Intellij.
I would like to rename a property of my script that is used also in my template by simply using the "rename" command (shift+ F6).
For example, I have:
<template>
<login" :user="user"></login>
</template>
<script>
export default defineComponent({
setup() {
const user = User()
return {user}
)}
</script>
When I try to rename the const "user" with the IDE "rename" command, it renames it only inside the script, but not inside the template.
Is there a way to configure the IDE to rename the properties everywhere?
Upvotes: 0
Views: 457