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

[RN] Allowing users to update the workspace if they edit the project devfile in VS Code

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Restarting a workspace with a modified devfile

      This enhancement introduces a command *{prod-short}: Restart Workspace from Local Devfile* for the Microsoft Visual Studio Code - Open Source editor. You can use this command to update the workspace definition after modifying the devfile in the editor.
      Show
      = Restarting a workspace with a modified devfile This enhancement introduces a command *{prod-short}: Restart Workspace from Local Devfile* for the Microsoft Visual Studio Code - Open Source editor. You can use this command to update the workspace definition after modifying the devfile in the editor.
    • Enhancement
    • Done

    Description

      Synced from eclipse/che issue

      https://github.com/eclipse/che/issues/18670

      Is your enhancement related to a problem? Please describe.

      When editing a project devfile in VS Code, the workspace doesn’t get updated automatically.

      Describe the solution you'd like

      VS Code should watch for changes (including creation or deletion) of devfile.yaml and .devfile.yaml and when it happens propose to the user:

      You have made some changes to this repository's devfile.
      Do you want to apply them and restart your development environment?
      
                            || Restart || Continue Editing || Don't Ask again ||
      

      Note: to update the DevWorkspace VS Code should use the devworkspace-generator library

      Attachments

        Activity

          People

            rhn-ecs-pkovar Petr Kovar (Inactive)
            jiralint.codeready Bot Codeready
            Maksym Musienko Maksym Musienko
            Max Leonov Max Leonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: