Skip to content

Automatic .value insertion using vue.autoInsert.dotValue not working? #5683

@rchl

Description

@rchl

Vue - Official extension or vue-tsc version

3.1.0

VSCode version

1.104.2

Vue version

3.4.38

TypeScript version

5.9.2

System Info

package.json dependencies

Steps to reproduce

Trying out the feature and seeing it not working where I would expect with a code like:

const filterField = ref<HTMLElement | null>(null)
const x = computed(() => filterField|)

where the cursor is at |.

vue.autoInsert.dotValue is enabled.

What is expected?

.value added after typing d in filterField

What is actually happening?

Screen.Recording.2025-09-30.at.22.47.52.mov

Link to minimal reproduction

https://github.com/rchl/lsp-log-parser/blob/74459a83c435df5ed0ee34700440b4135ed30550/components/app-bar.vue#L151-L151

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good reproduction ✨This issue provides a good reproduction, we will be able to investigate it first🔩 p2-edge-case

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions