June 16, 2017 at 4:15 pm #527093
When text copied from terminal, word wrapped line is copied as multiple lines (with the breaks of word wrap).
Hence one can’t just copy long command from terminal and paste it in another console.June 19, 2017 at 6:09 am #527278
The Terminal is Eclipse’s plugin. I have filed a bug for the dev team to check if we can work on the line breaks issue. We will keep you posted about the fix.
MyEclipse SupportJanuary 4, 2018 at 1:58 pm #547147
Actually, Terminal+ is presented as part of WebClipse product, whether it is internally based on Eclipse terminal is an implementation detail. If Eclipse terminal as is was good enough, then there wasn’t need in any Terminal+.January 4, 2018 at 2:27 pm #547148
You’re absolutely right, that is why we developed Terminal+ – so we could improve on what the Eclipse Terminal view offers.
I ran a few quick tests right now and wrapped commands were copied fine – there were no line breaks in the copied content. Can you still replicate the problem?
1) For the same command, does your experience change if the Terminal+ view is made wide enough to take the entire command (if possible) or does the break appear at another location based on the width of the view?
2) Please remind me: Are you using Webclipse on Eclipse Neon or Eclipse Oxygen?
3) Can you give us a sample command or attach a screenshot of a wrapped command? Might help us find a case we aren’t testing.
Thanks!January 4, 2018 at 6:43 pm #547153
It is cut just at the current terminal width and does not happen when there is enough space.
Below I just press up arrow to bring last command, select and copy it:1234$ ***/angular-ide/bin/ng serve --port=4200 --live-reload=true --proxy=proxy/proxy.conf.test.json --host lo[LF]cal.host.com
narrower window:1234$ ***/angular-ide/bin/ng serve --port=4200 --live-reload=tru[LF]e --proxy=proxy/proxy.conf.test.json --host local.host.com
If I press enter it doesn’t seem to be broken internally, executes ok.
Moreover, on terminal resize it does layout rather strangely, sometimes reflowing, sometimes leaving it at line brake, sometimes showing scrollbar.
I’m currently on Neon 3, is Oxygen considered stable for WebClipse, do you recommend upgrade?
If you say it is completely not reproducible and Terminal+ is based on Eclipse internal terminal, it may be something in my environment from other plugins, I need to test again on clean install then.
January 5, 2018 at 3:37 am #547165
- This reply was modified 1 month, 2 weeks ago by Fedor Losev.
We have now managed to replicate the issue consistently, once we realised that this was a Windows specific problem (we couldn’t replicate it on either Linux or Mac). We’ve now raised the priority of the bug and will look to get a fix in as soon as possible.
Apologies for the delay in addressing this.
You must be logged in to reply to this topic.