Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2635

Unable to format the yaml file in crw workspace installed with yaml plugin [disconnected cluster]

XMLWordPrintable

    • False
    • False
    • Hide

      Create the workspace with below devfile

      apiVersion: 1.0.0
      metadata:
       name: yaml-plugin-test
      projects:
       - name: nodejs-web-app
         source:
           location: 'https://ec2-3-145-46-151.us-east-2.compute.amazonaws.com/test/samples'
           type: git
           branch: master
      components:
       - id: redhat/vscode-yaml/latest
         type: chePlugin
      

      Modify the devile.yaml file
      Use commndas

      {cntrl}

      +

      {shift}

      + i or view -> commands -> "Select the format document" option

      Expected: yaml file format should be corrected

      Actual: yaml file is not corrected

      Show
      Create the workspace with below devfile apiVersion: 1.0.0 metadata: name: yaml-plugin-test projects: - name: nodejs-web-app source: location: 'https: //ec2-3-145-46-151.us-east-2.compute.amazonaws.com/test/samples' type: git branch: master components: - id: redhat/vscode-yaml/latest type: chePlugin Modify the devile.yaml file Use commndas {cntrl} + {shift} + i or view -> commands -> "Select the format document" option Expected : yaml file format should be corrected Actual : yaml file is not corrected

      Precondition : Creating the CRW workspace with yaml plugin component and unformatted the existing yaml file

      Tried to format the yaml file using

      {cntrl}

      +

      {shift}

      + i, but it's not working

            vsvydenk Valerii Svydenko
            bmakam@redhat.com Balaji Makam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: