Skip to content

Configure Your Extension Metadata

Before you build, you must update the manifest.json file in your project's root. This file tells Xed-Editor what your extension is and how it works.

Example

Here is a sample manifest.json for a Git blame extension.

json
{
  "id": "com.git.blameviewer",
  "name": "Git Blame Viewer",
  "mainClass": "com.git.blame.Main",
  "version": "1.2.0",
  "description": "Shows Git blame info inline in the editor.",
  "author": {
    "displayName": "DevTools Studio",
    "github": "devtools-studio"
  },
  "minAppVersion": 95,
  "supportedArchitectures": ["arm64-v8a", "x86_64"],
  "dependencies": ["com.git.provider"],
  "localization": ["en", "de"],
  "repository": "https://github.com/Xed-Editor/xed-git-blame-viewer",
  "license": "MIT",
  "tags": ["git", "blame", "editor"],
  "hasSettings": true
}

Field Reference

FieldRequiredTypeDescription
idYesstringUnique ID for your extension. Use a reverse domain name like com.yourname.project.
nameYesstringThe name users see in the extension manager.
mainClassYesstringThe full name of your entry class that extends ExtensionAPI.
versionNostringVersion number (like 1.0.0).
descriptionNostringA short summary of what the extension does.
authorYesobjectContains displayName and optional github handle.
minAppVersionNonumberMinimum version code of Xed-Editor required.
supportedArchitecturesNostring[]List of CPU architectures your extension supports (e.g., arm64-v8a).
repositoryYesstringURL to your source code repository.
licenseNostringThe license for your code (e.g., MIT).
tagsNostring[]Keywords to help users find your extension.
hasSettingsNobooleanSet to true if you provide a settings screen.
dependenciesNostring[]IDs of other extensions that must be installed first.
recommendationsNostring[]IDs of extensions that work well with yours.
localizationNostring[]List of language codes your extension provides translations for (e.g., en, de).

We suggest setting a minAppVersion. This prevents users from installing an extension that will not work on their device. You can find the version code in the app under Settings > About.

WARNING

ID collisions will cause only one extension to load. Use a unique name to avoid this.

NOTE

Always update the version before releasing. Xed-Editor uses this to check for updates.