IDE

Introduction

Kaluma IDE is a web-based code editor which allows you to edit code in a web browser. Kaluma IDE works with web browsers supporting Web Serial API including Google Chrome and Microsoft Edge. The main features are:

  • A sophisticated web-based code editor

  • Provide cloud-based free public repositories

  • Automatic code bundling with Webpack

  • Support code linting based on ESLint

  • Project release management (publish and import reusable packages)

  • Support project fork

Kaluma IDE

Select Device

You can find connected boards at the Combobox in the top area. To connect a device, select a device in the Combobox.

Code Uploading

To upload your code select Upload menu (or "Up-arrow" button in the top area). The entry file (specified in package.json's main field. Default is index.js . See Project Configuration) will be uploaded and executed in the connected board. If you want to upload other than the entry file, open the file to upload in Code Editor and then select Upload Current menu.

Project Configuration

You can configure project with package.json

{
"name": "my-project",
"dependencies": {
"@niklauslee/ssd1306": "1.0.0"
},
"main": "index.js",
"bundle": {
"mode": "development"
}
}
  • name <string> Project name.

  • dependencies <Object<string,string>> Module dependencies with module name and version like "@owner/package": "1.0.0". If you want to bundle the currently working version not a released version, set the version to "current" like "@owner/package": "current".

  • main <string> The entry point of the module. The file specified by this property is loaded when this module is imported by require() form other products. Default: index.js.

  • bundle <object> Configuration for code bundling.

    • mode <string> Bundling mode is development or production. In development mode, the code is bundled as-is (not minified) so it is readable and and easier to debug. Whereas in production mode, the bundled code is minified so it is smaller and faster but not useful for debugging. Default: development.