Skip to content

[Bug]: wrong snippets directory in .vscode/extensions folder #182

@dkmnx

Description

@dkmnx

Environment

  • Operating System: Linux
  • Node Version: v22.14.0
  • Nuxt Version: 3.16.0
  • CLI Version: 3.22.5
  • Nitro Version: 2.11.6
  • Package Manager: [email protected]
  • Builder: -
  • User Config: compatibilityDate, devtools, runtimeConfig, modules, tailwindcss, shadcn
  • Runtime Modules: @nuxtjs/[email protected], [email protected]
  • Build Modules: -

What went wrong?

Snippets were not working on my Linux machine but working on my Windows PC. Upon checking the developer tools, the issue was about the snippets files were undetected or non-existent.

I go to the .vscode/extensions folder and locate nuxtr, then I found out that the snippets folder for nuxt and nitro were capitalized.

Image

To fix the issue, just make the folder name to lowercase.

I don't know if it is isolated only on my machine, but just want to share this. So, others will be aware. Thanks.

How to reproduce it?

I don't know if it is reproducible, but currently I'm on EndeavourOS. Just install the extension and test the snippets on your Nuxt project. See if it will appear.

As of this writing the version of Nuxtr is nuxtr.nuxtr-vscode-0.2.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions