Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

New: Local development with JetBrains IDEs in OpenShift Dev Spaces

Now in Technology Preview

March 31, 2025
Artem Zatsarynnyi
Related topics:
Developer productivityDeveloper toolsIDEs
Related products:
Developer SandboxDeveloper ToolsetRed Hat OpenShift Dev Spaces

    While businesses emphasize centralized, secure development environments, developers often struggle with the high-end hardware requirements of traditional desktop IDEs. The Red Hat OpenShift Dev Spaces 3.19 release brings the best of both worlds to developers by introducing a local development experience for the following JetBrains IDEs:

    • IntelliJ IDEA Ultimate
    • WebStorm
    • PyCharm
    • RubyMine
    • CLion

    Now users can seamlessly integrate their cloud-native development environments with the local JetBrains IDE experience (Figure 1).

    "Dev Spaces Dashboard page", showing the "IDEA Ultimate" editor selected
    Figure 1: Dev Spaces Dashboard page
    Figure 1: The OpenShift Dev Spaces dashboard.

    The following video demonstrates how to use your local JetBrains IntelliJ IDE with a hosted cloud development environment provided by OpenShift DevSpaces as outlined in this article. 

    Technology preview

    Currently, this feature is available as a Technology Preview, allowing users to explore and provide feedback for further refinements. 

    In upcoming releases, we will expand support to include additional JetBrains IDEs:

    • GoLand
    • PhpStorm
    • Rider

    This ongoing expansion will provide a broader range of options for developers working on different tech stacks.

    How it works: The role of JetBrains Gateway

    The integration is made possible through JetBrains Gateway (see Figure 2), a lightweight desktop application designed to bridge cloud development environments (CDEs) with local JetBrains IDEs.

    "JetBrains Gateway application window", showing the "DevSpaces" plugin
    Figure 2: JetBrains Gateway application window
    Figure 2: JetBrains Gateway application window.

    The local development experience differs significantly from the traditional in-browser IDE model used in OpenShift Dev Spaces (e.g., with VS Code). Instead of running entirely within a browser, the JetBrains Gateway approach introduces additional components:

    • Remote JetBrains IDE Server: A headless IDE running within the user's containerized tools environment in OpenShift.
    • JetBrains Thin Client: The UI-rich, local IDE component that connects to the cloud-hosted environment, appearing like a normal local IDE to the user.
    • JetBrains Gateway: Manages the connection between the thin client and the remote IDE Server. It can be used as a standalone application or through a bundled JetBrains IDE plugin.
    • OpenShift Dev Spaces Connector plug-in: Extends Gateway's functionality to allow connections to OpenShift, managing CDEs and user authentication.

    Comparing in-browser versus Gateway-based development

    In-browser IDEs (e.g., VS Code in OpenShift Dev Spaces):

    • Splits the IDE into a back end (running in OpenShift) and a front end (the in-browser client).
    • Developers interact entirely through the browser.
    • Easy to access but lacks full local IDE capabilities.

    JetBrains Gateway approach:

    • The IDE Server runs in OpenShift, handling all backend tasks (language processing, indexing, etc.).
    • The Thin Client runs on the developer's local machine, providing a native IDE experience.
    • Brings the power of local JetBrains IDEs with the flexibility of cloud environments.

    Try the JetBrains local development integration

    You can experience the JetBrains local development integration without needing to install OpenShift Dev Spaces on your machine. Follow these steps to get started.

    Prerequisites

    Before spinning up a cloud development environment (CDE), ensure you have:

    • A Red Hat Developer Sandbox account: Sign up for free.
    • OpenShift CLI: Follow the installation guide.
    • Authenticated OpenShift login: Use the OpenShift CLI (oc login).
    • JetBrains Gateway: Download and install JetBrains Gateway with the OpenShift Dev Spaces connector plug-in.
    • Active JetBrains IDE license: This feature requires a paid JetBrains subscription.

    Once the prerequisites are met (which you only need to do once), connecting to a remote CDE is simple:

    1. Start a CDE. Open the OpenShift Dev Spaces Dashboard (in OpenShift), select a JetBrains IDE from the available list, and enter the source repository URL, as shown in Figure 3.
    "Dev Spaces Dashboard page", showing the "IDEA Ultimate" editor selected and "Git repo URL" field
    Figure 3: Dev Spaces Dashboard page, importing a project from Git
    Figure 3: OpenShift Dev Spaces dashboard page, importing a project from Git.

    2. Initialize the CDE. During startup, OpenShift Dev Spaces:

    • Downloads the selected JetBrains IDE binaries from JetBrains servers.
    • Configures the IDE for a containerized environment.
    • Launches the IDE inside the OpenShift cluster.

    3. Authenticate and open Gateway: Once the CDE is running, your browser will prompt you to open JetBrains Gateway.

    • Click Open Gateway button, shown in Figure 4, to launch the local Gateway application.
    Browser prompt, showing the "Open Gateway" button
    Figure 4: "Open Gateway" browser prompt
    • This connects your JetBrains IDE Thin Client (Figure 5) to the remote CDE. All tasks and IDE processes, such as language processing, run on the remote server, while the user interface remains on the local machine. This setup provides a seamless development experience similar to a traditional local IDE, allowing users to download dependencies, index projects, and access full IDE features like syntax highlighting and code completion.
    "JetBrains Client window"
    Figure 5: "JetBrains Client" window
    Figure 5: JetBrains Client window.

    Note

    If your OpenShift authentication token expires, you might need to login to your cluster again.

    Let's try another example. This time, use the JetBrains WebStorm (Figure 6) and Node.js Runtime sample (Figure 7).

    "Dev Spaces Dashboard page", showing the "JetBrains WebStorm" editor selected
    Figure 6: "JetBrains WebStorm" editor
    Figure 6: JetBrains WebStorm editor.
    "Node.js Runtime" sample
    Figure 7: "Node.js Runtime" sample
    Figure 7: Node.js Runtime sample.
    • Open the project in your local IDE: Click Open Gateway in the browser prompt.
    • Install dependencies: Click Run 'npm install' in WebStorm (Figure 8).
    JetBrains Thin Client window, showing "Install dependencies" notification
    Figure 8: JetBrains Thin Client window
    Figure 8: JetBrains Thin Client window.
    • Run your application: Click the Run button (Figure 9).
    "Run 'server.js'" button
    Figure 9: "Run 'server.js'" button
    Figure 9: The Run 'server.js' button.

    Your application will now start running inside the OpenShift cluster within your tools container.

    Access the running application

    Once the application starts, you will see a confirmation message that the application is running, as shown in Figure 10.

    "App started" message in terminal window
    Figure 10: "App started" message
    Figure 10: The "App started" message.
    1. Open the Backend Status Details window. See Figure 11.
    "Backend Status Details" window
    Figure 11: "Backend Status Details" window
    Fgure 11: The Backend Status Details window.
    1. Add a Port Forwarding Rule to map the running application to your local machine.
    2. Access the app at localhost:3000: JetBrains Gateway will forward your local request to the cloud-hosted container (Figure 12).
    Application preview page
    Figure 12: Application preview page
    Figure 12: Previewing the application.

    Verify the remote CDE connection

    To confirm that your local IDE is correctly connected to the cloud-based CDE, open the JetBrains Terminal and run environment-specific commands. Figure 13 shows an example.

    "JetBrains Client window", showing the terminal output
    Figure 13: Remote terminal
    Figure 13: The remote terminal.

    You're now developing locally with the power of cloud computing!

    Connect to JetBrains Gateway without the OpenShift Dev Spaces dashboard

    While the standard workflow works well for most cases, there is an alternative method for connecting to a remote CDE directly from your local machine without accessing the OpenShift Dev Spaces dashboard. This approach is particularly useful when a CDE with a JetBrains IDE is already running.

    Steps to connect using JetBrains Gateway:

    1. Open JetBrains Gateway and click Connect to Dev Spaces.
    2. Click Check connection and continue to verify access.
    3. Select your CDE from the available list (Figure 14).
    4. Click Connect to establish the connection.
    "JetBrains Gateway application window", showing the Workspaces list
    Figure 14: CDEs list in JetBrains Gateway window
    Figure 14: The list of CDEs in the JetBrains Gateway window.

    Once connected, JetBrains Gateway will launch the corresponding IDE and seamlessly link it to the selected CDE, providing a smooth, local-like development experience.

    What’s next? Future improvements

    At Red Hat, we are committed to enhancing the local development experience in OpenShift Dev Spaces. Some areas we are exploring include:

    • Airgapped mode support: Enabling offline usage for enterprise environments.
    • Full JetBrains IDE integration: Expanding support for all JetBrains IDEs.
    • Faster CDE start-up: Caching both thin clients and headless IDE binaries to reduce initialization time.
    • Multiple IDE connections: Allowing users to run multiple Thin Clients connected to different CDEs simultaneously.
    • Enhanced image compatibility: Supporting a wider range of base images for user containers.
    • Improved OpenShift DevSpaces integration: Adding features like devfile command execution, sidecar terminal access, and CDE management directly within JetBrains IDEs.
    • Cluster login profiles: Enabling seamless switching between multiple OpenShift clusters.
    • Better error handling and documentation: Improving troubleshooting guides and user experience.

    Conclusion

    The integration of JetBrains IDEs with OpenShift Dev Spaces represents a major step forward in cloud-native development. By combining the flexibility of cloud-hosted environments with the familiarity of local IDEs, this solution enables developers to work more efficiently while meeting enterprise security requirements.

    With the Technology Preview in OpenShift Dev Spaces 3.19, we encourage you to explore, provide feedback, and help shape the future of local development within OpenShift. Stay tuned for more updates as we continue to improve and expand support!

    Visit the OpenShift Dev Spaces product page to learn more.

    Last updated: April 1, 2025

    Related Posts

    • Efficient image builds with FUSE in Red Hat OpenShift Dev Spaces

    • Integrate a private AI coding assistant into your CDE using Ollama, Continue, and OpenShift Dev Spaces

    • Boost Ansible developer experience with OpenShift Dev Spaces

    • How to run VS Code with OpenShift Dev Spaces

    • Red Hat OpenShift Dev Spaces security best practices

    • How OpenShift Dev Spaces makes Ansible content testing easy

    Recent Posts

    • MCP servers vs. skills: Choosing the right context for your AI

    • How to route external and local LLMs with Models-as-a-Service

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.