@svenefftinge, where should I put the Open in Terminal implementation, for instance?
@theia/navigator, but then I need to depend on the @theia/terminal.@theia/terminal if introduce the @theia/navigator dependency which I do not want to.@theia/workspace but it does not yet depend on @theia/navigator or @theia/terminal.@theia/workbench?I like an idea with workbench extension. It allows to keep extensions decouple without changing the core. It could serve as a base extension for Theia, i.e. including typical extensions like navigator, terminal, editor, preferences and so on.
It should go into terminal without a dependency to navigator. I understood that dependency would only exist because of the menu entry. We should just use the id (string).
Introducing a third extension that is the place for everything where we have have such dependency issues will end up being a big kitchen sink with dependencies to everything. Also the name is very generic.
@thegecko, the Copy path is not implemented, right?
@kittaakos that's right. Thanks for the update above
(fyi) in the navigator Copy copies a path as well, you can try it by pasting anywhere outside the navigator:
https://github.com/theia-ide/theia/blob/18a0ab39d90845352f3fac46b490c7870902570e/packages/navigator/src/browser/navigator-widget.tsx#L154-L160
Looks like there is a bug in Paste it does not expect multiple URIs:
https://github.com/theia-ide/theia/blob/18a0ab39d90845352f3fac46b490c7870902570e/packages/navigator/src/browser/navigator-widget.tsx#L162-L171
copies a path as well
The URI, not the path.
I believe the issue can be closed thanks to the following pull-request which adds copy path: