You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have several Shopify projects on my Mac.
When I open any of these projects on VSCode, the file .shopify/metafields.json is created at the root of the project.
This file contains the metafield definitions of another project, not the one currently open.
In addition, the file is added to the project root, whereas I use the following structure:
project-name/
.shopify/metafields.json <- wrong file created automatically
/styles
/scripts
/theme
.shopify/metafields.json <- good file created with the shopify theme metafields pull command
.shopifyignore
/assets
/sections
/snippets
...
shopify.theme.toml
package.json
...
The file is therefore not added where it should be; it should be added in the /theme folder.
If I deactivate the Shopify Liquid extension, the problem no longer occurs: the .shopify/metafields.json file is not created automatically.
Expected behaviour
The .shopify/metafields.json file should not be created automatically.
Actual behaviour
The .shopify/metafields.json file is created automatically.
Debugging information
OS: macOS
OS Version: 14.7.2
Theme Check Version: 3.5.0
The text was updated successfully, but these errors were encountered:
Describe the bug
I have several Shopify projects on my Mac.
When I open any of these projects on VSCode, the file
.shopify/metafields.json
is created at the root of the project.This file contains the metafield definitions of another project, not the one currently open.
In addition, the file is added to the project root, whereas I use the following structure:
The file is therefore not added where it should be; it should be added in the
/theme
folder.If I deactivate the
Shopify Liquid
extension, the problem no longer occurs: the.shopify/metafields.json
file is not created automatically.Expected behaviour
The
.shopify/metafields.json
file should not be created automatically.Actual behaviour
The
.shopify/metafields.json
file is created automatically.Debugging information
The text was updated successfully, but these errors were encountered: