question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Navigating to `ide` link provided by workspace API does not open Theia IDE in Che 7

See original GitHub issue

Once workspace is created a few links are exposed via workspace API e.g.

   "links":{  
      "self":"https://che.openshift.io/api/workspace/workspacet0gu6w16w0ldx1zd",
      "ide":"https://che.openshift.io/ibuziuk@redhat.com/wksp-d0fg",
      "environment/statusChannel":"wss://che.openshift.io/api/websocket",
      "environment/outputChannel":"wss://che.openshift.io/api/websocket"
   }

However, for workspaces created based on che7 stacks, navigating to ide link does not open Theia IDE:

image

NOTE: navigating to workspace via UD e.g. https://che.openshift.io/dashboard/#/ide/ibuziuk@redhat.com/wksp-d0fg works just fine since the url is edirect to workspace-loader app and it decides which IDE to load in this method https://github.com/eclipse/che/blob/master/workspace-loader/src/index.ts#L348

image

Currently, this issue prevents che-starter to support che7 for openshift.io flow since workspace startup fall back on ide link provided by workspace API.

More details can be found in https://github.com/redhat-developer/che-starter/pull/323#issuecomment-452736290

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ibuziukcommented, Feb 8, 2019

ok seems that ide link presents in the response even for stopped workspace and navigating to it start che 7 workspace. All looks good - thanks @vparfonov

1reaction
vparfonovcommented, Jan 30, 2019

@ibuziuk Hi, yes work on it. Will be done on this week

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 2. Che-Theia IDE basics - Red Hat Customer Portal
In the CodeReady Workspaces IDE, press F1 to open the Command Palette, or navigate to View → Find Command in the top menu....
Read more >
Introduction to Eclipse Che :: Eclipse Che Documentation
Eclipse Che provides browser-based IDEs for its workspaces. The default IDE is built on Theia, and it has the following capabilities:.
Read more >
Theia - Cloud and Desktop IDE Platform
An Open, Flexible and Extensible Cloud & Desktop IDE Platform. Efficiently develop and deliver Cloud & Desktop IDEs and tools with modern web...
Read more >
Eclipse Theia vs Che vs VS Code - YouTube
Do you wonder whether you should use VS Code or Eclipse Theia ? Are you confused by the relationship between Theia and Eclipse...
Read more >
Eclipse Che vs. VS Code (online|codespaces) - EclipseSource
Che plugins do not only extend the IDE (Theia) but also consist of a sidecar that is added to the underlying workspace container....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found