JADE: build apps
JADE (JOLT App Development Environment) is the editor that runs inside Office. It opens inside JET: open JET with Home → Jolt → Run Apps, then choose ☰ → Build or edit apps (JADE).
JADE covers JET while it shows, and JET's apps and =JOLT.RUN formulas keep running underneath. JADE's code, the Monaco editor included, is only downloaded the first time you open it, so people who only run apps don't pay for it. Once JADE has been opened, JET's tab bar shows a JADE button that returns to it.
The toolbar
| Control | What it does |
|---|---|
| ← | Goes back to JET's apps. JADE keeps its place, with your open files and unsaved edits, until the pane closes. |
| ☰ | Shows or hides the file tree. Above the tree, Project opens the menu: Preview in JET, Download as site (.zip), Get Help from your AI (see below), Settings, Delete all project files… and About JOLT. |
| Function picker | Lists every exported function, grouped by file. ★ marks an automation, and (context) marks a function that runs inside the host's batch context. |
| Save | Saves the project into the document now (Ctrl+S). |
| ▶ Run | Runs the selected function (Ctrl+Enter). |
Files
- In the file tree, you can create, rename and delete files. To create a file inside a folder, type a path such as
lib/util.js; the folders are created for you. - Files open in tabs. The Monaco editor gives you syntax highlighting, and the Office.js and
jolttypings give you IntelliSense. The typings load in the background a moment after JADE starts. - Any text file can be part of a project, including HTML, CSS, JS, JSON, Markdown and CSV. Images and other binary files aren't supported. Use URLs or data URIs instead.
Running code
Pick a function and click ▶ Run.
- A function with no parameters is called as it is.
- A function with one parameter runs inside
Excel.run,Word.runorPowerPoint.runand receives the requestcontext. asyncfunctions are awaited. Errors appear in Output, with the file and line where JOLT can find them.- The code runs in a frame of its own in the Output View, exactly like an app in a JET tab. If it uses
jolt.root, that's the frame's<body>.
The project's modules load the way they would in JET: as real ES modules, from blob: URLs. So relative imports such as import { x } from "./lib/util.js" work. Circular imports between project files aren't supported.
Output
The Output drawer collects jolt.print and console.* calls and errors. jolt.print(value, "Heading") starts a new section. The drawer can show timestamps, and you can clear it with its clear button. You can also open Output as a tab, which gives it the full editor area.
Preview in JET
☰ → Project → Preview in JET saves the project, then shows JET's apps and starts the document's app (or restarts it, if it's already running) in JET's tab for this document. This is the real JET view: JOLT mounts the entry page and calls autoRun, and if the project has no page, the tab lists its automations instead. Click JADE in JET's tab bar to come back to the editor.
Saving
- With Autosave to document on (the default), JADE writes the project into the document shortly after you stop typing.
- Writing the project into the document isn't the same as saving the file. Save the workbook, document or presentation in Office to keep your changes.
- The project is stored compressed in a custom XML part. See Storage.
- Every save also approves the saved code on this computer, in every Office app, so JET runs it and its
=JOLT.RUNformulas calculate without asking. See Approving an app.
When the document changes elsewhere
Another writer can change the project while JADE is open, for example JUICE syncing from VS Code. Every save carries a revision number, and JADE never overwrites a newer version without asking. When you return to the pane, JADE checks the document:
- Files changed only in the document are updated in your editor, and a message says who changed them.
- For a file changed in both places, JADE asks whether to Keep mine, Use the document's or Merge with markers. The last choice writes git-style
<<<<<<</=======/>>>>>>>markers into the file for you to resolve. Fix them, then save.
Get help from your AI
JADE is meant for lightweight development of apps that live directly in a workbook, so its AI integration is lightweight too. You hand your AI assistant the project as a zip file, and upload what it gives back. ☰ → Project → Get Help from your AI opens Instructions, Download for offline development, Upload project…, Copy project as text and Paste project as text….
- Download for offline development saves the project as a zip. Besides the project files, the zip holds
AGENTS.md, the JUMP guide in.jolt/ai/and thejolttypings, which teach an assistant how JOLT apps work. - Give the zip to an assistant that can work with files (ChatGPT, Claude, Copilot and others), or unzip it and work on it yourself.
- Ask for the change. A prompt to start with: "This zip is a JOLT app. Read AGENTS.md first. Then <describe the change you want>. Give me back a zip of the whole project with the same folder layout."
- Have the assistant re-zip the whole project.
- Upload project… brings it back.
Uploading a .zip completely replaces the project: files that aren't in the zip are deleted. Uploading individual files replaces just those files. Before anything changes, JADE lists the files that will change, be added or be deleted. Either way:
- The app's
jolt.storagedata is kept. - Undo upload or paste appears in the same menu and puts the project back, until you close JADE.
- A zip whose files sit inside one folder is fine. JADE starts the project where
jolt.jsonis. - The AI files,
.jolt/,__MACOSX/and binary files are left out.
As text, for chats without files
Copy project as text copies every file in one block of text. Each file sits between a === FILE: path === line and an === END FILE: path === line. Instructions at the top tell the assistant the format, the JOLT essentials, and how to answer: only the files it adds or changes, each one complete, and a === DELETE FILE: path === line for each file to remove. Paste the text into any AI chat, ask for your change, then copy the assistant's whole reply.
Paste project as text… opens a box for that reply. JADE ignores everything outside the markers (the assistant's explanations) and any code fences around a file. It then shows the changes before applying them. Only the files in the reply change; the rest of the project stays as it is.
Some Office desktop apps block downloads from add-ins. If yours does, download from Office on the web.
For more involved development, use JUICE, the VS Code extension. Its AI integration is much tighter: the assistant edits the files directly, and it can reload, see and click the running app in Office.
Settings
☰ → Project → Settings holds your personal preferences. They're saved on this computer, not in the document.
| Setting | Default |
|---|---|
| Theme (Match system, Light, Dark) | Match system |
| Font size | 13 |
| Word wrap (On, Off, Bounded) | On |
| Line numbers | On |
| Minimap | Off |
| Type-check JavaScript | Off |
| Autosave to document | On |
The Trusted sites list shows every site you've allowed to run code. Remove a site there and JOLT asks again the next time it's used. See Security.
Removing a project
☰ → Project → Delete all project files… removes every project file from the document, along with its jolt.storage data and any saved launch URL. It also turns off auto-open. Save the document afterwards to make it permanent.