mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-07 00:07:29 +00:00
`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.
37 lines
1.3 KiB
TOML
37 lines
1.3 KiB
TOML
id = "openidea.excalidraw"
|
||
name = "Excalidraw"
|
||
version = "0.1.0"
|
||
description = "Draw and edit Excalidraw diagrams (.excalidraw). The drawing is the file's text, so the text editor follows, Undo and Save are shared, and the IDE theme applies."
|
||
authors = ["OpenIDEA contributors"]
|
||
license = "Apache-2.0"
|
||
change-notes = "0.1.0 — first release: the Excalidraw canvas next to (or instead of) the file's text, kept in step both ways; export to PNG and SVG through the save dialog; a file icon and a New › Excalidraw Drawing template. Based on the Excalidraw editor proposed by Deng Liu (#738)."
|
||
categories = ["tools"]
|
||
engines.openidea = "^1.0"
|
||
|
||
[capabilities]
|
||
# Copy and paste through Excalidraw's menus (the keyboard works without it).
|
||
optional = ["clipboard"]
|
||
|
||
[[contributes.customEditors]]
|
||
id = "canvas"
|
||
title = "Drawing"
|
||
patterns = ["*.excalidraw", "*.excalidraw.json"]
|
||
priority = "default"
|
||
layout = "preview"
|
||
web = "web/index.html"
|
||
|
||
[[contributes.languages]]
|
||
path = "languages/excalidraw.toml"
|
||
|
||
[[contributes.fileIcons]]
|
||
id = "excalidraw"
|
||
patterns = ["*.excalidraw", "*.excalidraw.json"]
|
||
icon = "icons/excalidraw.svg"
|
||
iconDark = "icons/excalidraw_dark.svg"
|
||
|
||
[[contributes.fileTemplates]]
|
||
id = "drawing"
|
||
name = "Excalidraw Drawing"
|
||
extension = "excalidraw"
|
||
path = "templates/drawing.excalidraw"
|