-
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
[multi-root] Relative paths in multi-root setting are not resolved when opening a Terminal #7597
Labels
bug
bugs found in the application
multi-root
issues related to multi-root support
terminal
issues related to the terminal
Comments
corneliusludmann
added a commit
to corneliusludmann/theia
that referenced
this issue
Apr 17, 2020
If you have configured a workspace folder like ``` "path": "../../workspace" ``` you get a Terminal for URI `/workspace/theia/../../workspace` instead of `/workspace`. This commit fixes this by using a normalized path in the terminal cwd selector. Fixes eclipse-theia#7597
corneliusludmann
added a commit
to corneliusludmann/theia
that referenced
this issue
Apr 17, 2020
If you have configured a workspace folder like ``` "path": "../../workspace" ``` you get a Terminal for URI `/workspace/theia/../../workspace` instead of `/workspace`. This commit fixes this by using a normalized path in the terminal cwd selector. Fixes eclipse-theia#7597
1 task
corneliusludmann
added a commit
to corneliusludmann/theia
that referenced
this issue
Apr 17, 2020
If you have configured a workspace folder like ``` "path": "../../workspace" ``` you get a Terminal for URI `/workspace/theia/../../workspace` instead of `/workspace`. This commit fixes this by using a normalized path in the terminal cwd selector. Fixes eclipse-theia#7597 Signed-off-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
akosyakov
added
bug
bugs found in the application
multi-root
issues related to multi-root support
terminal
issues related to the terminal
labels
Apr 17, 2020
corneliusludmann
added a commit
to corneliusludmann/theia
that referenced
this issue
Apr 17, 2020
This avoids having workspace roots like /workspace/../../workspace when having relative paths in the workspace roots configuration. Fixes eclipse-theia#7597 Signed-off-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
corneliusludmann
added a commit
to corneliusludmann/theia
that referenced
this issue
Apr 21, 2020
This avoids having workspace roots like /workspace/../../workspace when having relative paths in the workspace roots configuration. Fixes eclipse-theia#7597 Signed-off-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
corneliusludmann
added a commit
to corneliusludmann/theia
that referenced
this issue
Apr 21, 2020
This avoids having workspace roots like /workspace/../../workspace when having relative paths in the workspace roots configuration. Fixes eclipse-theia#7597 Signed-off-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
akosyakov
pushed a commit
that referenced
this issue
Apr 24, 2020
This avoids having workspace roots like /workspace/../../workspace when having relative paths in the workspace roots configuration. Fixes #7597 Signed-off-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
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
multi-root
issues related to multi-root support
terminal
issues related to the terminal
Description
When you define a multi-root workspace with relative paths like
../../workspace/
the path is not resolved when you open a terminal. You can see it in the following screenshot in the menu as well as in the terminal view.Reproduction Steps
Open New Terminal
in Command Palette../..
is not resolvedOS and Theia version:
The text was updated successfully, but these errors were encountered: