yaml-language-server icon indicating copy to clipboard operation
yaml-language-server copied to clipboard

Unable to use Custom Tags with Helix

Open Joe-Zer0 opened this issue 8 months ago • 2 comments

Describe the bug

I am looking at AWS CloudFormation YAML in Helix (https://github.com/helix-editor/helix). CloudFormation uses some custom tags. YAML Language Server highlights them as errors. I have attempted to configures some custom tags, but they are still showing as errors when viewing the YAML. Thank you in advance for any assistance you can provide. Please also let me know if there is any other information I can provide.

Expected Behavior

When the custom tags are configured, I would expect those tags to no longer be shown as errors.

Current Behavior

The custom tags are still showing as errors.

Steps to Reproduce

  1. Install Helix (https://docs.helix-editor.com/install.html)
  2. Install YAML Language Server (https://github.com/helix-editor/helix/wiki/Language-Server-Configurations#yaml)
  3. Configure YAML Language Server with configuration provided below
  4. View YAML file provided below

Environment

  • [X] Windows
  • [ ] Mac
  • [ ] Linux
  • [ ] other (please specify)

Versions

⟫ $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
⟫ hx --version
helix 25.01.1 (aac0ce5f)
⟫ npm list yaml-language-server -g
C:\Users\#####\AppData\Roaming\npm
`-- [email protected]

YAML Language Server Configuration

[[language]]
name = "yaml"
language-servers = ["yaml-language-server"]

[language-server.yaml-language-server.config]
yaml.customTags = [
  "!Equals sequence",
  "!FindInMap sequence",
  "!GetAtt",
  "!GetAtt sequence",
  "!If sequence",
  "!ImportValue",
  "!Join sequence",
  "!Not sequence",
  "!Ref",
  "!Sub",
  "!Sub sequence"
]

Example CloudFormation YAML

This YAML has a Fn::Join and a Ref that are both showing as errors, that I do not expect to after configuring custom tags.

Resources:
  S3Bucket:
    Type: AWS::S3::Bucket
    Properties:
      BucketName:
        Fn::Join:
          - ""
          - - my-cdk-
            - Ref: AWS::AccountId

Helix Logs

It does appear that the custom tags are being sent to the language server:

2025-02-12T10:29:56.721 helix_lsp::client [INFO] Using custom LSP config: {"yaml":{"customTags":["!Equals sequence","!FindInMap sequence","!GetAtt","!GetAtt sequence","!If sequence","!ImportValue","!Join sequence","!Not sequence","!Ref","!Sub","!Sub sequence"]}}

Also please note the following warning found in the logs below:

2025-02-12T10:29:57.588 helix_term::application [WARN] Ignoring a client/registerCapability request because dynamic capability registration is not enabled. Please report this upstream to the language server

2025-02-12T10:29:56.721 helix_lsp::client [INFO] Using custom LSP config: {"yaml":{"customTags":["!Equals sequence","!FindInMap sequence","!GetAtt","!GetAtt sequence","!If sequence","!ImportValue","!Join sequence","!Not sequence","!Ref","!Sub","!Sub sequence"]}}
2025-02-12T10:29:56.721 helix_lsp::transport [INFO] yaml-language-server -> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-32","utf-16"]},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit","command"]}},"completion":{"completionItem":{"deprecatedSupport":true,"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{}},"formatting":{"dynamicRegistration":false},"hover":{"contentFormat":["markdown"]},"inlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"tagSupport":{"valueSet":[1,2]},"versionSupport":true},"rename":{"dynamicRegistration":false,"honorsChangeAnnotations":false,"prepareSupport":true},"signatureHelp":{"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown"],"parameterInformation":{"labelOffsetSupport":true}}}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":false},"executeCommand":{"dynamicRegistration":false},"fileOperations":{"didRename":true,"willRename":true},"inlayHint":{"refreshSupport":false},"symbol":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true,"failureHandling":"abort","normalizesLineEndings":false,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"helix","version":"25.01.1 (aac0ce5f)"},"initializationOptions":{"yaml":{"customTags":["!Equals sequence","!FindInMap sequence","!GetAtt","!GetAtt sequence","!If sequence","!ImportValue","!Join sequence","!Not sequence","!Ref","!Sub","!Sub sequence"]}},"processId":26608,"rootPath":"C:\\projects\\cdk\\my-project","rootUri":"file:///C:/projects/cdk/my-project","workspaceFolders":[{"name":"my-project","uri":"file:///C:/projects/cdk/my-project"}]},"id":0}
2025-02-12T10:29:56.723 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:29:57.123 helix_term::application [DEBUG] received editor event: Redraw
2025-02-12T10:29:57.124 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:29:57.585 helix_lsp::transport [INFO] yaml-language-server <- {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":2,"completionProvider":{"resolveProvider":false},"hoverProvider":true,"documentSymbolProvider":true,"documentFormattingProvider":false,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n"},"documentRangeFormattingProvider":false,"definitionProvider":true,"documentLinkProvider":{},"foldingRangeProvider":true,"selectionRangeProvider":true,"codeActionProvider":true,"codeLensProvider":{"resolveProvider":false},"executeCommandProvider":{"commands":["jumpToSchema"]},"workspace":{"workspaceFolders":{"changeNotifications":true,"supported":true}}}}}
2025-02-12T10:29:57.585 helix_lsp::transport [INFO] yaml-language-server <- {"capabilities":{"codeActionProvider":true,"codeLensProvider":{"resolveProvider":false},"completionProvider":{"resolveProvider":false},"definitionProvider":true,"documentFormattingProvider":false,"documentLinkProvider":{},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n"},"documentRangeFormattingProvider":false,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["jumpToSchema"]},"foldingRangeProvider":true,"hoverProvider":true,"selectionRangeProvider":true,"textDocumentSync":2,"workspace":{"workspaceFolders":{"changeNotifications":true,"supported":true}}}}
2025-02-12T10:29:57.585 helix_lsp::transport [INFO] yaml-language-server -> {"jsonrpc":"2.0","method":"initialized","params":{}}
2025-02-12T10:29:57.585 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: None, method: "initialized", params: None })))
2025-02-12T10:29:57.585 helix_lsp::transport [INFO] yaml-language-server -> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"yaml":{"customTags":["!Equals sequence","!FindInMap sequence","!GetAtt","!GetAtt sequence","!If sequence","!ImportValue","!Join sequence","!Not sequence","!Ref","!Sub","!Sub sequence"]}}}}
2025-02-12T10:29:57.585 helix_lsp::transport [INFO] yaml-language-server -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"yaml","text":"<FILE_CONTENTS_HERE>","uri":"file:///C:/projects/cdk/my-project/cdk.out/template.yaml","version":0}}}
2025-02-12T10:29:57.588 helix_lsp::transport [INFO] yaml-language-server <- {"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"4906760d-1e73-466f-9e7e-e0645c6b4f32","method":"workspace/didChangeWorkspaceFolders","registerOptions":{}}]}}
2025-02-12T10:29:57.588 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("4906760d-1e73-466f-9e7e-e0645c6b4f32"), "method": String("workspace/didChangeWorkspaceFolders"), "registerOptions": Object {}}]}), id: Num(0) })))
2025-02-12T10:29:57.588 helix_term::application [WARN] Ignoring a client/registerCapability request because dynamic capability registration is not enabled. Please report this upstream to the language server
2025-02-12T10:29:57.588 helix_lsp::transport [INFO] yaml-language-server <- {"jsonrpc":"2.0","id":1,"method":"workspace/configuration","params":{"items":[{"section":"yaml"},{"section":"http"},{"section":"[yaml]"},{"section":"editor"},{"section":"files"}]}}
2025-02-12T10:29:57.588 helix_lsp::transport [INFO] yaml-language-server -> {"jsonrpc":"2.0","result":null,"id":0}
2025-02-12T10:29:57.588 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("yaml")}, Object {"section": String("http")}, Object {"section": String("[yaml]")}, Object {"section": String("editor")}, Object {"section": String("files")}]}), id: Num(1) })))
2025-02-12T10:29:57.588 helix_lsp::transport [INFO] yaml-language-server -> {"jsonrpc":"2.0","result":[{"customTags":["!Equals sequence","!FindInMap sequence","!GetAtt","!GetAtt sequence","!If sequence","!ImportValue","!Join sequence","!Not sequence","!Ref","!Sub","!Sub sequence"]},null,null,null,null],"id":1}
2025-02-12T10:29:57.589 helix_lsp::transport [INFO] yaml-language-server <- {"jsonrpc":"2.0","id":2,"method":"workspace/configuration","params":{"items":[{"section":"yaml"},{"section":"http"},{"section":"[yaml]"},{"section":"editor"},{"section":"files"}]}}
2025-02-12T10:29:57.589 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("yaml")}, Object {"section": String("http")}, Object {"section": String("[yaml]")}, Object {"section": String("editor")}, Object {"section": String("files")}]}), id: Num(2) })))
2025-02-12T10:29:57.589 helix_lsp::transport [INFO] yaml-language-server -> {"jsonrpc":"2.0","result":[{"customTags":["!Equals sequence","!FindInMap sequence","!GetAtt","!GetAtt sequence","!If sequence","!ImportValue","!Join sequence","!Not sequence","!Ref","!Sub","!Sub sequence"]},null,null,null,null],"id":2}
2025-02-12T10:29:57.622 helix_term::application [DEBUG] received editor event: Redraw
2025-02-12T10:29:57.623 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:29:57.805 helix_lsp::transport [INFO] yaml-language-server <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///C:/projects/cdk/my-project/cdk.out/template.yaml","diagnostics":[]}}
2025-02-12T10:29:57.805 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [], "uri": String("file:///C:/projects/cdk/my-project/cdk.out/template.yaml")}) })))
2025-02-12T10:29:57.861 helix_term::application [DEBUG] received editor event: Redraw
2025-02-12T10:29:57.862 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:29:59.364 helix_lsp::transport [INFO] yaml-language-server <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///C:/projects/cdk/my-project/cdk.out/template.yaml","diagnostics":[{"range":{"start":{"line":158,"character":8},"end":{"line":163,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: AliasName","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":164,"character":8},"end":{"line":167,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: TargetKeyId","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":127,"character":8},"end":{"line":128,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: TopicArn","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":117,"character":8},"end":{"line":121,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: TopicName","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":80,"character":12},"end":{"line":81,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: Variables","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":84,"character":8},"end":{"line":88,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: FunctionName","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":91,"character":8},"end":{"line":94,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: Role","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":70,"character":10},"end":{"line":71,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: Roles","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":14,"character":10},"end":{"line":19,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: ManagedPolicyArns","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}}]}}
2025-02-12T10:29:59.364 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(163)}, "start": Object {"character": Number(8), "line": Number(158)}}, "severity": Number(1), "source": String("yaml-schema: AliasName")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(167)}, "start": Object {"character": Number(8), "line": Number(164)}}, "severity": Number(1), "source": String("yaml-schema: TargetKeyId")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(128)}, "start": Object {"character": Number(8), "line": Number(127)}}, "severity": Number(1), "source": String("yaml-schema: TopicArn")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(121)}, "start": Object {"character": Number(8), "line": Number(117)}}, "severity": Number(1), "source": String("yaml-schema: TopicName")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(81)}, "start": Object {"character": Number(12), "line": Number(80)}}, "severity": Number(1), "source": String("yaml-schema: Variables")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(88)}, "start": Object {"character": Number(8), "line": Number(84)}}, "severity": Number(1), "source": String("yaml-schema: FunctionName")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(94)}, "start": Object {"character": Number(8), "line": Number(91)}}, "severity": Number(1), "source": String("yaml-schema: Role")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(71)}, "start": Object {"character": Number(10), "line": Number(70)}}, "severity": Number(1), "source": String("yaml-schema: Roles")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(19)}, "start": Object {"character": Number(10), "line": Number(14)}}, "severity": Number(1), "source": String("yaml-schema: ManagedPolicyArns")}], "uri": String("file:///C:/projects/cdk/my-project/cdk.out/template.yaml")}) })))
2025-02-12T10:29:59.411 helix_term::application [DEBUG] received editor event: Redraw
2025-02-12T10:29:59.412 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:30:00.077 helix_lsp::transport [INFO] yaml-language-server <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///C:/projects/cdk/my-project/cdk.out/template.yaml","diagnostics":[{"range":{"start":{"line":158,"character":8},"end":{"line":163,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: AliasName","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":164,"character":8},"end":{"line":167,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: TargetKeyId","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":127,"character":8},"end":{"line":128,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: TopicArn","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":117,"character":8},"end":{"line":121,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: TopicName","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":80,"character":12},"end":{"line":81,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: Variables","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":84,"character":8},"end":{"line":88,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: FunctionName","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":91,"character":8},"end":{"line":94,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: Role","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":70,"character":10},"end":{"line":71,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: Roles","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}},{"range":{"start":{"line":14,"character":10},"end":{"line":19,"character":0}},"message":"Incorrect type. Expected \"string\".","severity":1,"code":0,"source":"yaml-schema: ManagedPolicyArns","data":{"schemaUri":["https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json"]}}]}}
2025-02-12T10:30:00.077 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(163)}, "start": Object {"character": Number(8), "line": Number(158)}}, "severity": Number(1), "source": String("yaml-schema: AliasName")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(167)}, "start": Object {"character": Number(8), "line": Number(164)}}, "severity": Number(1), "source": String("yaml-schema: TargetKeyId")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(128)}, "start": Object {"character": Number(8), "line": Number(127)}}, "severity": Number(1), "source": String("yaml-schema: TopicArn")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(121)}, "start": Object {"character": Number(8), "line": Number(117)}}, "severity": Number(1), "source": String("yaml-schema: TopicName")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(81)}, "start": Object {"character": Number(12), "line": Number(80)}}, "severity": Number(1), "source": String("yaml-schema: Variables")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(88)}, "start": Object {"character": Number(8), "line": Number(84)}}, "severity": Number(1), "source": String("yaml-schema: FunctionName")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(94)}, "start": Object {"character": Number(8), "line": Number(91)}}, "severity": Number(1), "source": String("yaml-schema: Role")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(71)}, "start": Object {"character": Number(10), "line": Number(70)}}, "severity": Number(1), "source": String("yaml-schema: Roles")}, Object {"code": Number(0), "data": Object {"schemaUri": Array [String("https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json")]}, "message": String("Incorrect type. Expected \"string\"."), "range": Object {"end": Object {"character": Number(0), "line": Number(19)}, "start": Object {"character": Number(10), "line": Number(14)}}, "severity": Number(1), "source": String("yaml-schema: ManagedPolicyArns")}], "uri": String("file:///C:/projects/cdk/my-project/cdk.out/template.yaml")}) })))
2025-02-12T10:30:00.117 helix_term::application [DEBUG] received editor event: Redraw
2025-02-12T10:30:00.120 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:30:00.804 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:30:01.021 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:30:01.056 helix_term::application [DEBUG] received editor event: IdleTimer
2025-02-12T10:30:01.096 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:30:01.207 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2025-02-12T10:30:01.980 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0

Joe-Zer0 avatar Feb 12 '25 19:02 Joe-Zer0