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.

Support snippets for VS Code extensions running in a Che Theia sidecar

See original GitHub issue

Describe the bug

In Java files, the code snippet (to generate try catch block) try_catch is not working

Che version

  • latest

Steps to reproduce

  1. Start a Java workspace with a Java project (any of the getting started)
  2. Open a Java file
  3. type try and Ctrl+space inside a method

Expected behavior

Expected to have the try_catch like in VSCode: Selection_694

But had no try_catch code snippet 😦 Selection_695

Runtime

  • Openshift 4.3 and che.openshift.io

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
tsmaedercommented, Jul 23, 2020

@PrasangAPrajapati no, that directory is random. And anyway…you’d have to copy it to the theia container somehow. I suggest waiting until we have the PR from @akosyakov merged and can fix it correctly. Hopefully some within 2 weeks.

1reaction
tsmaedercommented, Jul 20, 2020

Btw: thx for the hint: I can observe in the debugger that the file referenced in package.json is not properly resolved. So we may be looking at two bugs, not one 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using VS Code extensions in Eclipse Theia and Che
This article describes how to install VS Code extensions into the Eclipse Theia IDE and Eclipse Che.
Read more >
Handling Multiple/Remote Plugin Hosts - Theia Community
The issue # Snippets don't work when Plugin Host is not colocated with Back End is an example of where this assumption breaks...
Read more >
Chapter 4. Customizing developer environments
The APIs are compatible with Visual Studio Code extension APIs. Usually, Che-Theia can run VS Code extensions as its own plug-ins.
Read more >
Managing Extensions in Visual Studio Code
VS Code extensions let you add languages, debuggers, and tools to your installation to support your development workflow. VS Code's rich extensibility model ......
Read more >
Move your VS Code extension into Eclipse Che
How sidecar endpoint is working ? FROM eclipse/che-theia-endpoint-runtime:next. RUN apk --no-cache add openjdk11 -repository=http ...
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