Files
l0ng-ai 53aa2d5704 feat(plugins): file marketplace plugins under categories
`plugin.toml` takes `categories` (up to 3 of languages, themes, icon-themes,
linters, vcs, ai, frameworks, tools, other). A plugin that declares none is
filed under what its contributions imply (themes, icon themes, languages),
else under other; categories an IDE doesn't know are ignored, and `check`
warns about them. Index entries carry the categories, and Settings › Plugins
› Available filters by them and shows them in a plugin's details. The
official plugins declare theirs.
2026-11-04 17:46:51 +08:00

37 lines
1.1 KiB
TOML

id = "openidea.license-header"
name = "License Header"
version = "0.1.0"
description = "Keeps a copyright and SPDX license header at the top of source files: files without one are reported when they open, a quick fix adds it, and a project scan lists every file that still needs one."
authors = ["OpenIDEA contributors"]
license = "Apache-2.0"
change-notes = "0.1.0 — first release: missing headers reported on open and save, Add License Header quick fix and command, project scan in the background."
categories = ["tools"]
engines.openidea = "^1.0"
wasm = "dist/plugin.wasm"
activation = ["on-event:file-opened", "on-event:file-saved", "on-command:*"]
[capabilities]
required = ["events", "project.read", "editor.read", "editor.write"]
[[contributes.providers]]
kinds = ["code-actions"]
languages = ["*"]
[[contributes.commands]]
id = "add"
title = "License Header: Add to Current File"
category = "License Header"
[[contributes.commands]]
id = "scan"
title = "License Header: Find Files Without a Header"
category = "License Header"
[[contributes.menus]]
menu = "tools"
command = "scan"
[contributes.settings]
title = "License Header"
schema = "settings.schema.json"