-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[workspace] misleading isMultiRootWorkspaceOpened
implementation
#4811
Labels
bug
bugs found in the application
help wanted
issues meant to be picked up, require help
workspace
issues related to the workspace
Comments
vince-fugnitto
added
bug
bugs found in the application
workspace
issues related to the workspace
labels
Apr 4, 2019
you are right. |
We can keep though |
elaihau
pushed a commit
to elaihau/theia
that referenced
this issue
Jun 17, 2019
- fixed eclipse-theia#4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
elaihau
pushed a commit
to elaihau/theia
that referenced
this issue
Jun 17, 2019
- fixed eclipse-theia#4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
elaihau
pushed a commit
to elaihau/theia
that referenced
this issue
Jun 17, 2019
- fixed eclipse-theia#4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
elaihau
pushed a commit
to elaihau/theia
that referenced
this issue
Jun 17, 2019
- fixed eclipse-theia#4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
elaihau
pushed a commit
to elaihau/theia
that referenced
this issue
Jun 25, 2019
- fixed eclipse-theia#4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
elaihau
pushed a commit
to elaihau/theia
that referenced
this issue
Jun 26, 2019
- fixed eclipse-theia#4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
elaihau
pushed a commit
that referenced
this issue
Jun 26, 2019
- fixed #4811 Signed-off-by: elaihau <liang.huang@ericsson.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
bugs found in the application
help wanted
issues meant to be picked up, require help
workspace
issues related to the workspace
The following implementation for the method
isMultiRootWorkspaceOpened()
is misleading.https://github.com/theia-ide/theia/blob/a27cbd0bfcc03ccc36044e51c6bd341d7f5eb93a/packages/workspace/src/browser/workspace-service.ts#L267-L269
The method checks whether there is a workspace opened and that the preference is on.
This is a false positive and does not accurately describe if a multi-root workspace is in fact opened.
Additional checks should be made to verify the source of the workspace
(for example being a
*.theia-workspace
file) or a directory (single root).@elaihau your thoughts?
The text was updated successfully, but these errors were encountered: