Community
Participate
Working Groups
http://wiki.eclipse.org/index.php/FAQ_How_do_I_hook_into_global_actions,_such_as_Copy_and_Delete%3F
The point here is that when the Terminal View is active, "Cut" / "Copy" / "Paste" actions are available in the local context menu, but the global menu bar Edit > Cut,Copy,Paste actions are all disabled. The correct link into the corresponding FAQ is here: http://wiki.eclipse.org/FAQ_How_do_I_hook_into_global_actions%2C_such_as_Copy_and_Delete%3F
Terminal 2.0.2 had corresponding code in TerminalView.java, but it was removed in Terminal 2.0.3 due to bug 189774. The change was made for TerminalView.java v1.22 TerminalView.java v1.13.2.3 respectively. I'm unsure why the global action handlers for the retargetable actions were removed. Probably, the reason was that in the actual Terminal View a Ctrl+V keyboard command needs to be sent to the remote, and if the global action handler is active it would otherwise swallow that command. Re-evaluate for 3.0
PS to re-evaluate just compare CURRENT against v1.21 and search for setGlobalActionHandler
Note: in fact, with TM 2.0.2, the global action handler is enabled, but choosing "Paste" from it always pastes into the Terminal Widget, even if the optional input line is active. Same for Ctrl+V. Supposedly that's why it was disabled.
*** Bug 209857 has been marked as a duplicate of this bug. ***
Summary changed, old value was: [terminal] Use global actions for cut/copy/paste etc This might be less trivial than expected. See also bug 189774: Perhaps it's to this extension point in plugin.xml of org.eclipse.tm.terminal: <extension point="org.eclipse.ui.contexts"> Marking "minor" but should be fixed for 3.0 since it's a regression compared to 2.0.2
The Terminal component of the Eclipse Ecosystem has a new home. The Terminal is now part of the Eclipse CDT project[1]. This change means a new Git repo[2], P2 site[3] and Bugzilla component. The terminal will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well. The marketplace entry[4] had not been updated in a few years. It will once again install the latest release of the terminal on the latest release of the whole IDE (currently 2020-03). If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment. [1] https://wiki.eclipse.org/CDT/User/NewIn911 [2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the terminal directory) [3] current release is 9.11 - P2 site https://download.eclipse.org/tools/cdt/releases/9.11/ [4] https://marketplace.eclipse.org/content/tm-terminal (This comment was added to all open terminal bugs along with changing the Product/component pair to CDT/terminal.)