Hover over the 1st character of a JS reference inside template, l is the easiest to try.
<script setup lang="ts">
/**
* docs have to be removed in quick nav, preserved in quick doc!
*/
let local = 323 as number | null;
let l = 323 as number | null;
local;
</script>
<template>
<div v-text="local"></div>
<div v-text="l"></div>
<div>{{local}}</div>
</template>
What is expected?
What is actually happening?
Link to minimal reproduction
No response
Any additional comments?
This is affecting WebStorm sadly, as we're not using hybridMode. I've checked and we sent the same offsets as VSCode does, but in hybridMode, Vue LS returns
[Trace - 16:57:08] Sending request 'textDocument/hover - (20)'.
Params: {
"textDocument": {
"uri": "file:///Users/tomblachut/Work/Playgrounds/vue3-vite-ts5/src/components/injections/NullChecksTeamCity.vue"
},
"position": {
"line": 11,
"character": 15
}
}
[Trace - 16:57:08] Received response 'textDocument/hover - (20)' in 8ms.
No result returned.
Vue - Official extension or vue-tsc version
v2.0.26
VSCode version
1.91.0
Vue version
^3.4.18
TypeScript version
~5.0.4
System Info
No response
Steps to reproduce
hybridMode: false
l
is the easiest to try.What is expected?
What is actually happening?
Link to minimal reproduction
No response
Any additional comments?
This is affecting WebStorm sadly, as we're not using hybridMode. I've checked and we sent the same offsets as VSCode does, but in hybridMode, Vue LS returns