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.

Provides @eclipse-che/plugin namespace to VS Code extensions

See original GitHub issue

Is your enhancement related to a problem? Please describe.

Today, VS Code extensions don’t have access to @eclipse-che/plugin namespace and if they’re linking to this module it may not be deployed easily on VS Code.

Describe the solution you’d like

Export @eclipse-che/plugin namespace as a VS Code extension export through a Theia plug-in (that has access to the namespace for example) https://code.visualstudio.com/api/references/vscode-api#extensions

VS Code extensions wanting to use Che features could then do:

const eclipseChePluginExport = vscode.extensions.getExtension('@eclipse-che/plugin');
if (eclipseChePluginExport) {
   eclipseChePluginExport.workspace.getCurrentWorkspace()
}

Describe alternatives you’ve considered

N/A

Additional context

Leverage VS Code extension paradigm

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
fbriconcommented, Feb 23, 2021

@azatsarynnyy summarized it best. I can work with both solutions. #1 didn’t work for me initially though, #2 worked immediately, so I’m totally OK with it

0reactions
benoitfcommented, Mar 3, 2021

merged in 7.27

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing Extensions in Visual Studio Code
This has been just one example of how to install and use an extension. The VS Code Marketplace has thousands of extensions supporting...
Read more >
Move your VS Code extension into Eclipse Che
VS Code extensions. 9. Scaffolding: Yeoman generator yo code. Develop ... VSCode extension with custom plugin registry ... @eclipse-che/plugin namespace.
Read more >
How to run VS Code with OpenShift Dev Spaces
Visual Studio Code is included in the Eclipse Che plugin registry with the identifier che-incubator/che-code/insiders . OpenShift Dev Spaces has ...
Read more >
Using VS Code extensions in Eclipse Theia and Che
This leads us to the next topic. How to install VS Code extension/plugins into Theia. In this section, we will provide details on...
Read more >
Installing the AWS Toolkit for Visual Studio Code
In the Activity Bar on the side of the VS Code editor, choose the Extensions icon. This opens the Extensions view, which allows...
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