Hi, Sometimes VS Code in Palantir Foundry fails to load syntax highlighting (color themes).
This issue occurs intermittently and seems to affect specific users.
Since other colleagues are not experiencing this problem, it doesn’t appear to be a Foundry-wide issue.
Additionally, I experience the same problem even when accessing Palantir Foundry VS Code from a different PC, which confirms this is not a local PC environment issue.
When this happens, I’ve previously resolved it by: - Restarting the Code Repository multiple times until it works - Opening my local VS Code application while accessing Foundry’s VS Code (which somehow fixed it)
However, today none of these workarounds are working.
This issue significantly disrupts my workflow when it occurs during coding sessions.
Could you please investigate and resolve the root cause?
Thank you.
Logs :
ERR Unable to load and parse grammar for scope source.shell from vscode-remote://bongo-containers.palantirfoundry.com/usr/bin/code-editor/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json TypeError: Failed to fetch
at Bmt.readExtensionResource (workbench.js:3313:32337)
at async Object.loadGrammar (workbench.js:1909:493)
at async t.Registry._doLoadSingleGrammar (main.js:1:31144)
at async Promise.all (index 0)
at async t.Registry._loadGrammar (main.js:1:30814)
at async AIs.createGrammar (workbench.js:1909:1522)
at async jJe.U (workbench.js:1909:6114)
at async L4i.j (workbench.js:73:82650)
at async HEt.getOrCreate (workbench.js:73:82085)
ㅡㅡㅡ
ERR Unable to load and parse grammar for scope source.json.comments from vscode-remote://bongo-containers.palantirfoundry.com/usr/bin/code-editor/extensions/json/syntaxes/JSONC.tmLanguage.json TypeError: Failed to fetch
at Bmt.readExtensionResource (workbench.js:3313:32337)
at async Object.loadGrammar (workbench.js:1909:493)
at async t.Registry._doLoadSingleGrammar (main.js:1:31144)
at async Promise.all (index 0)
at async t.Registry._loadGrammar (main.js:1:30814)
at async AIs.createGrammar (workbench.js:1909:1522)
at async jJe.U (workbench.js:1909:6114)
at async L4i.j (workbench.js:73:82650)
at async HEt.getOrCreate (workbench.js:73:82085)