-
Notifications
You must be signed in to change notification settings - Fork 36
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
fix: set /project
as default pah for the terminal
#330
Conversation
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
@@ -1,5 +1,6 @@ | |||
{ | |||
// Note: settings in this file will override user-level settings in the workspace. | |||
// Any setting that may be changed by the user should not be set here. | |||
"git.defaultCloneDirectory": "/projects/" | |||
"git.defaultCloneDirectory": "/projects/", | |||
"terminal.integrated.cwd": "/projects/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vitaliy-guliy
could you test the use case when a workspace is not empty, so contains a project
I guess the /projects
will be a directory in the terminal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request is created exactly to test the case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have just tested the case. The settings force the terminal always switch to /projects
, even if the project is opened.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request is created exactly to test the case
you are working on the issue related to an empty workspace
so, I thought that you were going to test it for an empty workspace
I proposed to test it for another use case to avoid a regression...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can create a directory with mkdir /protects/test-dir
, goto Open Folder
and pick /projects/test-dir
.
Then open a terminal and check the working directory.
It will be always /projects
despite your workspace is not empty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems #328 is a solution for us
Pull Request Che-Code image published: |
What does this PR do?
What issues does this PR fix?
How to test this PR?