[Bug] - Extension alters workspace.settings.json with incorrect settings (with example)
Tristimdorion opened this issue · 1 comments
Tristimdorion commented
Unfortunately, it is back, here is an overview of the faulty settings in my workspace and I think it is related to this line in my renpy code:
menu:
"Light Distraction\n{color=ff0000}{size=18}[distraction_percentages[0]]%% Chance{/size}{/color}"
Hope this helps:
{
"scope": "renpy.meta.color.#ffff00",
"settings": {
"foreground": "#ffff00"
}
},
{
"scope": "renpy.meta.color.ff0000",
"settings": {
"foreground": "ff0000"
}
},
{
"scope": "renpy.meta.color.ff0000}{size=18}[distraction_percentages[2]]%% chance{/size}{/color}\":",
"settings": {
"foreground": "ff0000}{size=18}[distraction_percentages[2]]%% chance{/size}{/color}\":"
}
},
{
"scope": "renpy.meta.color.ff0000}{size=18}[distraction_percentages[1]]%% chance{/size}{/color}\":",
"settings": {
"foreground": "ff0000}{size=18}[distraction_percentages[1]]%% chance{/size}{/color}\":"
}
},
{
"scope": "renpy.meta.color.ff0000}{size=18}[distraction_percentages[0]]%% chance{/size}{/color}\":",
"settings": {
"foreground": "ff0000}{size=18}[distraction_percentages[0]]%% chance{/size}{/color}\":"
}
}
Tristimdorion commented
I see the problem, the extension requires a # in front of the color value, although the game is fine without the #.