Skip to content

v0.6.0 Seems to ignore configurations #41

@Kidswiss

Description

@Kidswiss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions