Bug Report
๐ Search Terms
completions return 'object literal shorthands'
๐ Version & Regression Information
- This changed between versions 4.2.0 and 4.2.3
โฏ Playground Link
Playground link with relevant code
๐ป Code
import { defineComponent } from '@vue/runtime-core'
export default defineComponent({
name: 'App',
setup () {
const waitingForAutocomplete = true;
const a = {
wait // get `waitingForAutocomplete`
}
return {
wait // don't get any completion
}
}
})
๐ Actual behavior
We can't get any completion for object literal shorthand in setup return.
๐ Expected behavior
Like common object literal shorthand.
Ref: #41259 #41539
From: vuejs/vetur#2544
Bug Report
๐ Search Terms
completions return 'object literal shorthands'
๐ Version & Regression Information
โฏ Playground Link
Playground link with relevant code
๐ป Code
๐ Actual behavior
We can't get any completion for object literal shorthand in setup return.
๐ Expected behavior
Like common object literal shorthand.
Ref: #41259 #41539
From: vuejs/vetur#2544