Free & Open Source · Apache 2.0

polarion.code.editor

VS Code, built right into Polarion.
Edit Velocity macros, configs, and XML without leaving your browser.

Monaco Editor Engine
Polarion 2512 & 2606
Java 21+
↓ Download Latest Release View on GitHub
$ deploy cp boesger.polarion.code-editor-*-polarion2606.jar <POLARION_HOME>/polarion/plugins/
Explore
Monaco VS Code Engine
Free Apache 2.0
2512+ Polarion Versions
REST Built-in API

Your Polarion files, your editor

Browse, edit, and save Velocity macros, JSON configs, and XML files directly in Polarion — with syntax highlighting, keyboard shortcuts, and multi-tab support.

Polarion Code Editor in action — editing a Velocity macro with Monaco syntax highlighting
File explorer sidebar showing the Polarion SVN repository structure
Tab bar with mainLogic.vm, llmConfig.json and workitem-type-enum.xml open simultaneously
Polarion sidebar showing the Code Editor navigation entry

Everything you need to edit Polarion files

A full-featured code editor embedded in Polarion Administration — powered by the same engine as VS Code.

Monaco Editor Engine

The exact same engine that powers VS Code. Syntax highlighting, a familiar dark theme, and all the keyboard shortcuts you already know — Ctrl+S to save, Ctrl+Shift+F to format.

vscode engine
🎨
Velocity Template Highlighting

First-class support for Polarion's Velocity dialect — .vm, .vtl, .fhtml, and page.xml files all get full syntax highlighting. No more editing macros blind.

.vm · .vtl · .fhtml
📁
File Explorer Sidebar

Browse the full Polarion SVN repository in a sidebar, scoped automatically to the current project. Create, rename, and delete files — all without leaving Polarion.

project-aware
📑
Multi-Tab Editing

Open multiple files simultaneously as tabs. Drag and drop tabs to reorder. Unsaved changes are tracked — the editor warns before you navigate away.

drag to reorder
🖼️
Image Preview

Click any PNG, JPG, GIF, SVG, or WebP file in the explorer to open it in the built-in image viewer. See exactly what your repository assets look like.

png · jpg · svg · gif
🔌
Built-in REST API

Every file operation is exposed via a REST API at /polarion/code-editor/api/. List, read, save, rename, delete, and download files from CI pipelines or external scripts.

rest · /api/

Installed in 3 steps

01
Download the JAR

Grab the JAR that matches your Polarion version from the GitHub releases page. Two variants: one for Polarion 2512, one for 2606.

Releases → boesger.polarion.code-editor-*.jar
02
Drop into plugins/

Copy the JAR into the Polarion plugins directory. Deploy only the one that matches your running Polarion release — the wrong JAR won't load.

<POLARION_HOME>/polarion/plugins/
03
Restart & Open

Restart the Polarion server. The Code Editor entry appears in the left-hand sidebar. Click it and start editing.

Administration → Code Editor

Two JARs, one source

Polarion 2606 moved from Tomcat 9 (javax) to Tomcat 11 (jakarta). Each release ships two builds — pick the one that matches your Polarion version.

2512
Tomcat 9 · javax.servlet · Java 21

For Polarion 2512 and earlier versions running Tomcat 9 with the classic javax.servlet namespace.

boesger.polarion.code-editor-1.5.1-polarion2512.jar
2606 Latest
Tomcat 11 · jakarta.servlet · Java 21

For Polarion 2606 running Tomcat 11 with the new jakarta.servlet namespace (Jakarta EE 11 / Servlet 6.1).

boesger.polarion.code-editor-1.5.1-polarion2606.jar

Installing the wrong JAR prevents the plugin from loading — double-check the suffix matches your Polarion version.

Deploy in one command

Copy the right JAR, restart, done. No configuration files, no additional services.

# Download from GitHub Releases
curl -L -o boesger.polarion.code-editor-polarion2606.jar \
  https://github.com/phillipboesger/polarion.code.editor/releases/latest/download/boesger.polarion.code-editor-1.5.1-polarion2606.jar

# Deploy to Polarion (Tomcat 11 / jakarta.servlet)
cp boesger.polarion.code-editor-polarion2606.jar \
  <POLARION_HOME>/polarion/plugins/

# Restart Polarion, then open: Administration → Code Editor
# Download from GitHub Releases
curl -L -o boesger.polarion.code-editor-polarion2512.jar \
  https://github.com/phillipboesger/polarion.code.editor/releases/latest/download/boesger.polarion.code-editor-1.5.1-polarion2512.jar

# Deploy to Polarion (Tomcat 9 / javax.servlet)
cp boesger.polarion.code-editor-polarion2512.jar \
  <POLARION_HOME>/polarion/plugins/

# Restart Polarion, then open: Administration → Code Editor
# All endpoints require an authenticated Polarion session
# Base URL: /polarion/code-editor/api/

# Health check
GET    /api/health

# List all files in the repository
GET    /api/config/list?projectId=MyProject

# Read a file
GET    /api/config/file/{filename}?projectId=MyProject

# Download a file (triggers browser download)
GET    /api/config/file/{filename}?download=true

# Save (create or update) a file
PUT    /api/config/file/{filename}

# Delete a file
DELETE /api/config/file/{filename}

# Rename a file
POST   /api/config/rename
// Enable the Code Editor tab in Polarion User View
// Global Administration → Portal → Topics → edit active topics XML

<!-- add inside <topics> -->
<topic id="code-editor"/>

// Save → the Code Editor tab appears in User View sidebar
// Without this, the plugin is only visible in Administration.
Phillip Bösger

Built by Phillip Bösger

Polarion & AI Freelancer · Bösger Digital

Nearly a decade of Polarion experience. I built the Code Editor because editing Velocity macros in Polarion's built-in text area is painful — and everyone deserves a proper editor inside the tool they're already using.

Stop editing Velocity in a textarea.

Free, open-source, and deployed in one command. No paywall, no license key, no limits.