-
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
Minimal set of Theia terminal improvements for Che 7 #11789
Comments
Some of them are duplicates of |
@l0rd why do we need move commands "Open terminal" to the View menu? View menu stores list "layouts"(panels). Layout it's a bigger UI scope than terminal widget. Terminal widget located on the bottom panel. So moving this command brakes this logical structure. As for me File menu is better place. |
Thank you @benoitf I added the link for the /etc/passwd one. For https://github.com/eclipse/che-theia-terminal-extension/issues/15: I am not sure that's the same. What I would like is that, even if there are many machines (aka containers), we automatically select the one that makes more sense (the first dev container). |
It may be disruptive that in upstream Theia, Terminal is in another menu (maybe need to change it as well in upstream) |
@l0rd may replace "first container" by "container specified by the user" (not picking up one of the tooling container) |
@AndrienkoAleksandr that's a feedback from eclipsecon. People could not find the terminal because they looked for the terminal where they usually find it for vscode: |
You are right. This is more clear. But there is the case where the user has specified multiple containers. So maybe "the first container among the ones specified by the user"? |
@l0rd @AndrienkoAleksandr about terminal there is an ongoing discussion in theia there eclipse-theia/theia#3355 (comment) |
Seems for now we can't implement this enhancement. Because we doesn't mark with help api containers like "tooling" or "user". So we can't even filter user containers among of others. |
Upstream related pull request: |
I think It should not be there. But this command has another behavior. This command works with bottom panel and sections of this panel. Bottom panel inside vscode has Sections:
When you click in the "View" command "Terminal", this command open/hide bottom panel and select section "Terminal". In case if this panel is empty, without terminals, this command really create new one terminal. So, what do you think? |
@AndrienkoAleksandr the View menu item is an upstream problem and is tracked/discussed here. As said there I don't have a strong opinion (i.e. I won't spend hours discussing that) On the other end the second point (automatically pick the first container among the ones created by the user) is really important. Since there is no better option now please use |
Hello, @l0rd . I implemented Add as many "Open Terminal" commands as there are containers. It's looks like: |
much better!
…On Thu, Jan 10, 2019 at 11:19 AM Oleksandr Andriienko < ***@***.***> wrote:
Hello, @l0rd <https://github.com/l0rd> . I implemented Add as many "Open
Terminal" commands as there are containers. It's looks like:
[image: terminal-command-per-container]
<https://user-images.githubusercontent.com/6873095/50551582-ae8d6400-0c8b-11e9-8de1-5963f074669d.gif>
Skipping plugin containers will be done later, when we will resolve
filtering issue. Label New terminal for containerName of the command is
OK?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11789 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABj5oYKBqqDUCoNPX_gkf7OwBi3-WFJSks5vBxPGgaJpZM4YDrWO>
.
--
Stévan LeMeur // Product Manager // Developer Tools // +336-87-11-27-55
|
@AndrienkoAleksandr really cool thank you! I've just used it and it significantly improves the UX. |
All sub-items done, except: And vscode has a plan in 2019 year road map to cover few new features and change user interface - it become closer to Theia. So, seems, it's no make sense to try handle this item, this item related to the current ui concept, but not feature concept. |
Description
Here is a small list of desiderata for Che 7 regarding the terminal:
Add a new "Open Terminal" command that should automatically pick the first container among the ones created by the user without prompting for a choiceAdd as many "Open Terminal" commands as there are containers (but filter out the exec plugin container). So user could select directly from the command palette the terminal to open:View
menu ([menu] [terminal] align terminal menu with vscode eclipse-theia/theia#3356)/etc/passwd
shell field to select the terminal's shell. Use/usr/bin/sh
if the shell is not specified (Add shell probe che-machine-exec#7)cc @evidolob @ashumilova @slemeur @AndrienkoAleksandr
The text was updated successfully, but these errors were encountered: