-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsdoc enhance problem #221
Comments
could not reproduce, Header.vue<template>
<div>header</div>
</template>
<script lang="ts">
export default {
props: {
/**
* @description: String
* @deprecated
* @param {type} String
* @return something
*/
test: String
}
}
</script>
<style lang="less" scoped></style> App.vue<template>
<div class="app-layout">
<router-view v-if="fullScreenMode" />
<div class="app-content" v-else>
<app-header :test="text" />
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link> |
<router-link to="/contact">Contact</router-link> |
<router-link to="/tests">组件测试</router-link>
</div>
<router-view />
<app-footer />
</div>
</div>
</template>
<script lang="ts">
import AppFooter from './Footer.vue'
import AppHeader from './Header.vue'
import { defineComponent, ref, watch } from 'vue'
import { useRouter } from 'vue-router'
export default defineComponent({
components: {
AppFooter,
AppHeader
},
data() {
return {
text: ''
}
},
setup() {
const fullScreenMode = ref(true)
const router = useRouter()
watch(router.currentRoute, () => {
fullScreenMode.value = Boolean(router.currentRoute.value.meta?.fullScreen)
})
return {
fullScreenMode
}
}
})
</script>
<style lang="less" scoped>
.app-layout {
height: 100%;
}
.app-content {
position: relative;
padding: 0;
margin: 0;
}
.router-view {
margin: 0;
padding: 0;
}
</style>
Could you give a demo repo so that we could reproduce and resolved it. |
Can't reproduce, please provide your VSCode info from |
My Vscode info:Version: 1.57.0-insider Volar version:0.25.14 |
I am pretty sure this bug is related to latest vscode insider, I could not reproduce this bug before i upgrade my vscode insider |
#105 add the jsdoc support, but if using
@description
or other symbols, will showRequest textDocument/hover failed.
Can support more symbols?
The text was updated successfully, but these errors were encountered: