vue3 import .vue file autocomplete does not add extension

When importing one component into another autocompete add path without extension,

 e.g. 

import AppHeader from './components/Header.vue';

is added as 

import AppHeader from './components/Header';

Can this be configured somehow?

Thank you.

3 comments
Comment actions Permalink

Does it happen on auto-import, or when you enter the import path manually? The extension is auto-added when the import is created automatically (since v. 2018.3)

0
Comment actions Permalink

I'm adding import manually, and pressing either Enter or Tab and insertion is without `.vue` extension

0
Comment actions Permalink

I see, thanks for clearing it up. Please follow https://youtrack.jetbrains.com/issue/WEB-48458 for updates

1

Please sign in to leave a comment.