vscode-jsonnet icon indicating copy to clipboard operation
vscode-jsonnet copied to clipboard

folder settings ignored

Open schmurfy opened this issue 1 year ago • 0 comments

in my currently open folder I have a .vscode/settings.json file with:

{
  "jsonnet.languageServer.tankaMode": false,
  "jsonnet.languageServer.jpath": [
    "/test",
    "."
  ]
}

(the settings ui correctly shows these values)

But when I save it the content is ignored, here is the jsonnet language server output:

time="2024-02-26T11:30:32+01:00" level=info msg="configuration updated: {ResolvePathsWithTanka:false JPaths:[] ExtVars:map[] ExtCode:map[] FormattingOptions:{Indent:2 MaxBlankLines:2 StringStyle:1 CommentStyle:1 PrettyFieldNames:true PadArrays:false PadObjects:true SortImports:true UseImplicitPlus:true StripEverything:false StripComments:false StripAllButComments:false} EnableEvalDiagnostics:true EnableLintDiagnostics:false}"

I have the latest jsonnet language server (0.13.1) and the vscode extension is up to date too (v0.5.1)

if I move the settings in my workspace settings it works.

schmurfy avatar Feb 26 '24 12:02 schmurfy