NuxtN
Nuxtβ€’13mo ago
Valentin

IntelliJ IDE not recognizing auto-imports unlike VSCode

Hey everyone! πŸ‘‹

I'm facing an issue with IntelliJ where the auto-imported i18n functions (like
$t
) aren't being recognized, while they work perfectly fine in VSCode.

Setup:
  • Nuxt 3 (
    compatibilityVersion
    4)
  • @nuxtjs/i18n
  • IntelliJ IDEA
I've already checked:
  • TypeScript is up to date (^5.7.2)
  • Nuxt plugin is installed
  • .nuxt folder is marked as Sources Root
Any suggestions on how to get proper type recognition for these auto-imports in IntelliJ?

Thanks in advance!
Was this page helpful?