-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to see the list of my recent workspaces from che-theia #17034
Comments
@l0rd how is the developer flow behind this? |
@azatsarynnyy why |
VS Code assumes that all projects are on the filesystem while with Eclipse Che, you only have a set of projects per workspace (you switch from Che workspace instead of opening/closing folders) As Mario said, we shouldn't get rid of close workspace. you may rename open workspace(theia) to open folder or from the "open..." |
@benoitf does that mean we should replace the existing commands with our own Che specific? |
Because it's useless in Che Theia IMO. After closing Che Theia Workspace, the user will see the empty file explorer:
@l0rd well, it depends on what we mean by |
Just to make sure we're on the same page, let me clarify my vision. For example, in my Che Workspace, I have Che project sources imported. If I'm working with tests only I may be interested just in two folders:
In Che Theia, I can set up a (Che)Theia Workspace with only these two folders included. And switch between the "full tree" and Tests view when I need to. Another example. In my Che Workspace, I have both projects' sources imported: upstream Theia and Che Theia. If I'm currently focused on Plugin system only, instead of seeing the entire trees of both monorepos I may want to see just several folders in Che Theia:
I can save such setup as (Che)Theia Workspace and switch to it whenever I need: I propose to keep this functionality as is but add the additional commands to work with Che Workspaces. @l0rd @benoitf please, let me know if that's not the behavior you expect. |
Another question is what's expected to be done after choosing any Che Workspace from the list when calling
I'd prefer the 2'nd option as running >1 Che Workspace isn't allowed by default. |
|
Ok thanks for the explanation @azatsarynnyy. The value of the concept of Theia workspace is evident from your examples. The probolem is that Che and Theia workspaces are different things. Right now Che uses the term "Workspace" in his editor to refer to Theia workspaces. That's confusing. I think we agree that we need to fix it. A Che workspace is set of tooling and runtime containers that together form an IDE. We can continue calling it workspace or use an alternative names: A Theia workspace is a set of local source code folders, alternative names (in a Che context) are Imo we should not consider the option to rename Che workspaces into something else: it would have the benefit to make Che and upstream Theia consistent but it would have a huge impact in terms of code to change, it would confuse existing users and conflict with our current model where the dev environment is defined by projects AND sidecars (not by projects only). Anyway that should be discussed and pondered carefully. That's why I am proposing in this issue to be pragmatic and start replacing some Theia workspace commands with Che workspaces commands. We may loose some functionality related to Theia workspaces in the process but current inconsitencies are more urgent to fix. And as soon as we have a good name replacement for Theia workspaces we will resume the Theia workspaces commands. Does that sounds good? |
I agree. "Workspace" term should be used in Che Theia to refer to Che Workspaces only. It may confuse the experienced VS Code users, that VS Code-like editor has well-known commands with completely different behavior. But we'll think about how to make it more consistent in the future. |
I've opened an epic for Workspace related commands consistency and finding a good name replacement for Theia Workspaces related commands #17106 |
This is currently blocked by #17246 |
I think renaming would be good:
we could start with labels in the front end and rename bits by bits, it is ok to say that a Che workspace is a Devspace ... |
Following PR for #17361 : eclipse-che/che-dashboard#66 |
I'm late to this discussion, but IMO replacing some of the "Workspace" commands in Theia with Che workspace commands is ultra-confusing. Also, the Theia workspace commands are important when developing che-theia (can't rely on the devfile to set up the Theia workpace, it needs to be different from the "outer" workspace). |
@tsmaeder it was decided to have both sets of commands: Theia Workspace related and Che Workspace related. |
closed by eclipse-che/che-theia#800 |
Is your enhancement related to a problem? Please describe.
I am not able to see the list of my recent workspaces from che-theia
The text was updated successfully, but these errors were encountered: