Skip to content

che-incubator/jetbrains-ide-dev-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JetBrains IDE development server for Eclipse Che

Dev Dev

This project enables running a JetBrains IDE as a remote development server in Eclipse Che CDE.

Check out JetBrains Gateway plugin to connect your local JetBrains IDE to a remote CDE.

Feedback

We love to hear from users and developers.

You can ask questions, report bugs, and request features using GitHub issues in the Eclipse Che main repository.

Images

To build a container image:

podman build . -f build/dockerfiles/Dockerfile -t che-ide-dev-server:next

quay.io/che-incubator/che-idea-dev-server:next is built and published each time a new change is merged to the main branch.

quay.io/che-incubator/che-idea-dev-server:latest is built and published for each new project release.

Development

To test the changes:

  1. Build

a. If you need to test the changes made to the che-integration-plugin, rebuild the plugin:

pushd che-integration-plugin && ./gradlew clean buildPlugin && popd

b. Build the image and upload it to a registry (from the project root folder):

podman build . -f build/dockerfiles/Dockerfile -t che-idea-dev-server:next --arch amd64
podman tag localhost/che-idea-dev-server:next quay.io/azatsary/che-idea-dev-server:next
podman push quay.io/azatsary/che-idea-dev-server:next
  1. Create a Gist with the editor definition, like this with setting the right image and required IDE in the following section:
...
- name: editor-injector
    container:
      image: quay.io/azatsary/che-idea-dev-server:next
      command: ['/entrypoint-init-container.sh', 'webstorm']
...
  1. Spin up a workspace, providing the created Gist link to the Dashboard:
image
  1. For iterating, repeat step 1 and restart the workspace.

Troubleshooting

Integration of Jet Brains Gateway with Eclipse Che this editor provides is in the early stage. So, you may face some problems that require a manual resolution.

Problem 1: executing oc port-forward ... command reports an error:

error: error upgrading connection: pods "..." is forbidden: User "..." cannot create resource "pods/portforward" in API group "" in the namespace "..."

Solution: ask the admin to allow port forwarding for your user.

Problem 2: when typing in the editor, a popup reports an error:

No internet connection

Solution: check your terminal if the port forwarding is enabled.

Problem 3: executing oc port-forward ... command reports an error: Error from server (NotFound): pods "..." not found

Solution: check the Dashboard that your workspace is running.

License

Trademark

"Che" is a trademark of the Eclipse Foundation.

About

JetBrains IDE as a remote dev server running in an Eclipse Che CDE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8