Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Open Che workspace with multiple workspace root #778

Merged
merged 10 commits into from
Feb 25, 2021

Commits on Feb 24, 2021

  1. feat(multiple-workspace-root): Multi-root workspaces based on /projec…

    …ts (or what has been configured as ROOT folder)
    
    Checks if there is a che.theia-workspace file.
      if there is one, returns that file as being a workspace root
      if none, generate the file by getting all clonedPath/path of the devfile projects
    
    enhancements:
     1. make it optional for now (like if there is a special attribute in devfile, use that mode)
     2. track new folders in /projects and add them to the che.theia-workspace file automatically (and if we delete folders)
     3. allow to customize/provide different projects to be added in workspace root. Could be useful for a maven project to see only sub-folders/modules
    
    Change-Id: Idfb9370dc503bcfb5504ba37446f7f1ab171b515
    Signed-off-by: Florent Benoit <fbenoit@redhat.com>
    benoitf authored and RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    521d20a View commit details
    Browse the repository at this point in the history
  2. Replace CheApiService by WorkspaceService

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    0f38c80 View commit details
    Browse the repository at this point in the history
  3. Add project as a workspace folder when the project has cloned

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    cf6fbf9 View commit details
    Browse the repository at this point in the history
  4. Ensure config storage directories exist

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    b87256b View commit details
    Browse the repository at this point in the history
  5. Ensure workspace folder creation when a project is imported

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    a0f24fc View commit details
    Browse the repository at this point in the history
  6. Add workspace folders in turn

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    24d9418 View commit details
    Browse the repository at this point in the history
  7. Use 'onDidChangeWorkspaceFolders' event to handle readme files

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    7f6ffdf View commit details
    Browse the repository at this point in the history
  8. Fix: file watcher should fire an event at launch.json file creation

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    9659215 View commit details
    Browse the repository at this point in the history
  9. Fix 'Open Configurations' and 'Add configuration' actions

    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    058aaad View commit details
    Browse the repository at this point in the history
  10. An ability to switch (turn on and turn off ) multi-root mode on a dev…

    …file level
    
    Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
    RomanNikitenko committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    dee2d73 View commit details
    Browse the repository at this point in the history