I have a very strange issue editing Debut theme templates in Visual Studio code.
Something to do with the character set and localisation is breaking the template code and throwing Invalid JSON in tag ‘schema’ errors.
The weird thing is this happens if I open the file, make no edits and save the file so this has to be character set related.
I would assume the correct character set is UTF8 but I have no way of knowing what the editor is doing to the JSON.
If I open the file in an alt editor - Ultraedit I don’t have the issues and I can edit the templates but then other issues occur such as lack of code hinting and highlighting.
Has anyone had similar issues editing this another/theme in Visual Studio Code. Is there anyway of ripping out the localisation from the theme within the Shopify editor as this is not really required in my current scenario and I believe this has a lot to do with my issues.
Many tx. NWE.