pythoneclipse-checodenvy

How can I open a new browser tab from Python in Eclipse Che?


I am running Eclipse Che v6.18.1 in Google Chrome on MacBook Pro OS v10.10.5 (Yosemite). Eclipse Che workspace runs in a Docker container.

How can I open a new browser tab (in the same browser window as Eclipse Che) from within a Python code executed in Eclipse Che?

So not a new Google Chrome instance from within a Docker container (much too slow) but a new tab in already existing browser window on the host machine.

In Eclipse Che it is possible to preview an HTML file in the project Workspace (right-click => Preview). Then the HTML file opens in the next tab to the Eclipse Che IDE. How could I use that feature from within a Python code to open a new browser tab?


Solution

  • According to Eclipse Che developers this functionality is currently not available in Eclipse Che. There is always user interaction required for this. See this GitHub post.