vscode [ctrl+click] 'vue 单文件组件','转到定义'不起作用

tjp*_*tjp 11 javascript go-to-definition vue.js visual-studio-code

// src/ui/tabbar/Index.vue
<template>
  <div>
    my-tabbar
  </div>
</template>

// src/ui/index.js
import MyTabbar from './tabbar/Index.vue'

export default {
  install(Vue) {
    Vue.component(MyTabbar.name, MyTabbar)
  }
}

// src/main.js
import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
Vue.use(ui)

new Vue({
  render: (h) => h(App)
}).$mount('#app')

// src/App.vue
<template>
  // [ctrl + click] my-tabbar tips no definition found for 'my-tabbar'
  <my-tabbar>/<my-tabbar>
</template>

Run Code Online (Sandbox Code Playgroud)

vscode [ctrl+click] 'vue 单文件组件','转到定义'不起作用

我怎样才能[ctrl + click]跳转到'src/ui/tabbar/Index.vue'

你能告诉我你知道的事情吗?谢谢你!!!

Gop*_*osa 4

我使用了vue-helper扩展以及volar