Skip to content
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

Use current project directory at Che terminal creation #23022

Closed
RomanNikitenko opened this issue Jun 27, 2024 · 1 comment
Closed

Use current project directory at Che terminal creation #23022

RomanNikitenko opened this issue Jun 27, 2024 · 1 comment
Assignees
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.

Comments

@RomanNikitenko
Copy link
Member

Is your enhancement related to a problem? Please describe

Che-Code has two actions to create a terminal:

  • New Terminal
  • New Terminal (Select a Container)

The first action uses current project directory as CWD, the second one doesn't.
For example, a workspace contains nodejs-nextjs-starter project:

  • CWD for the New Terminal is: /projects/nodejs-nextjs-starter
  • CWD for the New Terminal (Select a Container) is: /opt/app-root/src

See the behaviour on the screenshot:

Screenshot 2024-06-27 at 11 31 03

Describe the solution you'd like

My propose is - New Terminal (Select a Container) should use /projects/nodejs-nextjs-starter as CWD.

Describe alternatives you've considered

No response

Additional context

No response

@RomanNikitenko RomanNikitenko added the kind/enhancement A feature request - must adhere to the feature request template. label Jun 27, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jun 27, 2024
@RomanNikitenko RomanNikitenko added area/editor/vscode Issues related to the Code OSS editor of Che team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs. labels Jun 27, 2024
@svor svor added severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jun 28, 2024
@RomanNikitenko RomanNikitenko self-assigned this Jul 12, 2024
@RomanNikitenko
Copy link
Member Author

Possible solution: che-incubator/che-code#384

@RomanNikitenko RomanNikitenko added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P2 Has a minor but important impact to the usage or development of the system. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants