Re-enable separate OpenShift Terminal#3065
Conversation
|
@msivasubramaniaan I still need to fix a few places where commands are still being run in the default VS Code terminal, but features like 'Describe' and 'Dev' should work now. If you have time at some point, could you please confirm that this works for you? |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3065 +/- ##
==========================================
+ Coverage 36.94% 37.12% +0.18%
==========================================
Files 77 77
Lines 5319 5336 +17
Branches 1008 1025 +17
==========================================
+ Hits 1965 1981 +16
- Misses 3354 3355 +1
☔ View full report in Codecov by Sentry. |
|
I added support for the serverless commands and fixed a race condition that I ran into. |
a58ad7a to
906c0a2
Compare
|
@msivasubramaniaan I've updated this PR to fix it on Windows and take into account the Serverless commands (build, run, deploy). If you have time could you please let me know if it's working for you? |
906c0a2 to
e51567a
Compare
|
Rebased so that the serverless configuration works |
e51567a to
fe6c9a8
Compare
|
rebased on Muthu's and Victor's PRs:
|
vrubezhny
left a comment
There was a problem hiding this comment.
Please look at the question in-line
|
The most annoying problems (running on linux) I found are:
|
|
Thanks for the feedback! I think I will need to go back to this feature and do more work on it, so we should avoid trying to get it in the next release. |
I agree, probably we should postpone it for a while. |
6c1ae69 to
bf84091
Compare
This is the same behaviour as the regular VS Code Terminal. In order to cut/copy/paste using the keyboard, use |
d7857ae to
1461673
Compare
c74a82b to
f7bd1cb
Compare
0150fdc to
13e92ee
Compare
|
Hello Victor. If you have time, could you please re-review this PR? I addressed the first two of your suggestions. For the other ones:
I think we should handle this in a separate PR.
The default VS Code Terminal has buttons in the top right: What do you think about me adding buttons for "select all" and "clear tab contents" here? I don't think the extension API gives access to add a "select all" context menu.
The terminal behaves like a *nix or Windows terminal, since in come cases you need to send |
vrubezhny
left a comment
There was a problem hiding this comment.
Looks good, works smooth. The main problem, when it was impossible to scroll to the very beginning/very end of terminal text, is definitely solved.
I'm 👍 for it to be merged once successfully rebased.
All the other issues and improvements may be discussed/solved in separate issues.
This reverts commit 977a76d.
The resolution was to wrap all program executions in a Windows command line shell. I chose `cmd.exe`, although I expect PowerShell would also have worked. Signed-off-by: David Thompson <davidethompson@me.com>
- Also fix a race condition that caused the terminal spawn to fail Signed-off-by: David Thompson <davthomp@redhat.com>
- Turn conpty off; for some reason it doesn't work as expected - Use relative reference to cmd.exe Signed-off-by: David Thompson <davidethompson@me.com>
- Show scroll bar - Style scroll bar similar to VS Code's - Prevent text from being hidden past the bottom of the screen after resizing - Debounce resizing to prevent flashing Signed-off-by: David Thompson <davthomp@redhat.com>
13e92ee to
dd5650a
Compare
|
Annoying bug on Windows: Right click -> copy doesn't work, and |
Signed-off-by: David Thompson <davthomp@redhat.com>
dd5650a to
4753b33
Compare
|
The keybinding for copy on Windows is |

Revert the revert commit, and address the bug preventing the terminal from working on Windows. The resolution was to wrap all program executions in a Windows command line shell. I chose
cmd.exe, although I expect PowerShell would also have worked.WIP: