Skip to content

The volar.completion.normalizeComponentAutoImportName setting is not working #2286

Closed
@mdoesburg

Description

@mdoesburg

The volar.completion.normalizeComponentAutoImportName setting does not seem to be working even if I explicitly enable it. Both in .ts files and .vue files.

Volar version: v1.0.22
Takover mode: enabled

Expected

I expect an import suggestion without it ending in Vue.

Actual

The import suggestion is LogoBaseVue instead of LogoBase. If I apply the suggestion, I end up with the following import:

import LogoBaseVue from './logo/LogoBase.vue';

image

Activity

added a commit that references this issue on Mar 29, 2023
2147c98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mdoesburg@johnsoncodehk

        Issue actions

          The `volar.completion.normalizeComponentAutoImportName` setting is not working · Issue #2286 · vuejs/language-tools