The LabEx WebIDE provides a modern, VS Code-like development environment for coding tasks. Built on Ubuntu 22.04, it offers a familiar interface for writing, compiling, and running code across multiple programming languages.
The WebIDE environment is particularly useful for:
The WebIDE interface consists of several key components:
You can open the terminal in two ways:
To preview your HTML file:
index.html
file in that directory.
index.html
, you can append the file name to the URL to preview it directly. For example, https://xxx.labex.io/another-file.html
.
“Go Live” will automatically:
Tips: LabEx VM hosts the preview on port 8080. You can share the preview link with others to showcase your work. After your lab vm is stopped, the preview link will no longer work.
Java Development Sample
This is a sample Java lab that demonstrates how to write, compile, and run a simple Java program using the LabEx WebIDE.
Working with Java projects in WebIDE:
Web Development Sample
This is a sample HTML lab that demonstrates how to create a simple web page using the LabEx WebIDE.
For frontend development tasks:
Note: Your project is automatically deployed to a public URL on the LabEx server, making it accessible through the Web tabs.
Python Development Sample
This is a sample Python challenge that demonstrates how to process astronaut names using the LabEx WebIDE.
For Python programming:
How do I access my web application?
LabEx VM automatically deploys your web projects:
Default port 8080:
Custom ports:
Note: Unlike local development, you don’t access localhost directly as LabEx runs in the cloud.
What are the essential keyboard shortcuts?
Common shortcuts in the WebIDE:
File Operations
Panel Controls
Editor Features
Can I install additional tools or packages?
Yes, you can install additional tools using the Ubuntu package manager:
For language-specific package managers:
Remember that installations are temporary and will be reset when your session ends.
How do I handle file uploads and downloads?
The WebIDE provides several ways to manage files:
Upload Files:
Download Files:
Copy/Paste:
Remember that all files are temporary and will be lost when your session ends.