grafana/vscode-jsonnet

v0.6.0 Seems to ignore configurations

Kidswiss opened this issue · 0 comments

Hi

I've updated the extensions to v0.6.0 and noticed that the PadArrays parameter doesn't work anymore.

Output with v0.6.0:

time="2024-03-06T10:18:41+01:00" level=info msg="Starting the language server"
time="2024-03-06T10:18:41+01:00" level=info msg="Initializing jsonnet-language-server version 0.13.1"
time="2024-03-06T10:18:41+01:00" level=info msg="Reading stdlib"

Output after downgrading to v0.5.1:


time="2024-03-06T10:19:04+01:00" level=info msg="Starting the language server"
time="2024-03-06T10:19:04+01:00" level=info msg="Initializing jsonnet-language-server version 0.13.1"
time="2024-03-06T10:19:04+01:00" level=info msg="Reading stdlib"
time="2024-03-06T10:19:04+01:00" level=info msg="configuration updated: {ResolvePathsWithTanka:false JPaths:[/Users/simonbeck/repos/appcat/component-appcat/lib/ /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/commodore /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/kapitan] ExtVars:map[] ExtCode:map[] FormattingOptions:{Indent:2 MaxBlankLines:2 StringStyle:1 CommentStyle:1 PrettyFieldNames:true PadArrays:true PadObjects:true SortImports:true UseImplicitPlus:true StripEverything:false StripComments:false StripAllButComments:false} EnableEvalDiagnostics:true EnableLintDiagnostics:true}"
time="2024-03-06T10:19:04+01:00" level=info msg="configuration updated: {ResolvePathsWithTanka:false JPaths:[/Users/simonbeck/repos/appcat/component-appcat/lib/ /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/commodore /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/kapitan] ExtVars:map[] ExtCode:map[] FormattingOptions:{Indent:2 MaxBlankLines:2 StringStyle:1 CommentStyle:1 PrettyFieldNames:true PadArrays:true PadObjects:true SortImports:true UseImplicitPlus:true StripEverything:false StripComments:false StripAllButComments:false} EnableEvalDiagnostics:true EnableLintDiagnostics:true}"
time="2024-03-06T10:19:05+01:00" level=info msg="configuration updated: {ResolvePathsWithTanka:false JPaths:[/Users/simonbeck/repos/appcat/component-appcat/lib/ /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/commodore /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/kapitan] ExtVars:map[] ExtCode:map[] FormattingOptions:{Indent:2 MaxBlankLines:2 StringStyle:1 CommentStyle:1 PrettyFieldNames:true PadArrays:true PadObjects:true SortImports:true UseImplicitPlus:true StripEverything:false StripComments:false StripAllButComments:false} EnableEvalDiagnostics:true EnableLintDiagnostics:true}"
time="2024-03-06T10:19:05+01:00" level=info msg="configuration updated: {ResolvePathsWithTanka:false JPaths:[/Users/simonbeck/repos/appcat/component-appcat/lib/ /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/commodore /Users/simonbeck/Library/Python/3.10/lib/python/site-packages/kapitan] ExtVars:map[] ExtCode:map[] FormattingOptions:{Indent:2 MaxBlankLines:2 StringStyle:1 CommentStyle:1 PrettyFieldNames:true PadArrays:true PadObjects:true SortImports:true UseImplicitPlus:true StripEverything:false StripComments:false StripAllButComments:false} EnableEvalDiagnostics:true EnableLintDiagnostics:true}"

After downgrading the arrays are padded correctly again.