Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8921

SWF Editor - on diagram change new JSON is not formatted

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Run VS Code plugin in edit mode
      2. Do any change

      Actual result

      New JSON is not formatted

      Expected Result:

      New JSON keeps formatting

      Show
      Run VS Code plugin in edit mode Open https://github.com/kiegroup/kie-tools/blob/f3e1eb2dfab56f25e0d70bb3d11be96e093d8a15/packages/serverless-workflow-diagram-editor/sw-editor/sw-editor-kogito-app/src/main/java/org/kie/workbench/common/stunner/sw/client/editor/DiagramEditor.java#L258 in your local copy of the repository On line 258 replace true by false In repository root execute pnpm bootstrap -F vscode-extension-serverless-workflow-editor... In repository root execute pnpm -r -F vscode-extension-serverless-workflow-editor... build:prod Install VS Code plugin from kie-tools/packages/vscode-extension-serverless-workflow-editor/dist/vscode_extension_serverless_workflow_editor_0.0.0.vsix Do any change Actual result New JSON is not formatted Expected Result: New JSON keeps formatting
    • ---
    • ---

      The JSON file lose it's formatting after any diagram change in the VS Code plugin.

      It doesn't contain any empty characters like spaces and new lines.

              eignatow Eder Ignatowicz
              lterifaj@redhat.com Lubomir Terifaj
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: