Files
openidea/plugins/official/solidity/plugin.toml
T
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

43 lines
1.4 KiB
TOML

id = "openidea.solidity"
name = "Solidity"
version = "0.1.0"
description = "Solidity support: file detection, highlighting, structure view and folding, plus the Solidity language server when it is installed."
authors = ["OpenIDEA contributors"]
license = "Apache-2.0"
change-notes = "0.1.0 — first release: .sol detection, highlighting, structure view, folding; language server via @nomicfoundation/solidity-language-server or solc."
categories = ["languages"]
engines.openidea = "^1.0"
# Highlighting, structure and folding come from this component; it is loaded
# when the first Solidity file is opened.
wasm = "dist/plugin.wasm"
activation = ["on-language:solidity"]
# The language servers in the definition need `process:` capabilities; they
# are asked for on install and can be refused (the rest keeps working).
[[contributes.languages]]
path = "languages/solidity.toml"
# Offered in Foundry / Hardhat projects once the program is allowed.
[[contributes.runDetectors]]
id = "forge-test"
name = "forge test"
files = ["foundry.toml"]
command = "forge"
args = ["test"]
test = true
[[contributes.runDetectors]]
id = "forge-build"
name = "forge build"
files = ["foundry.toml"]
command = "forge"
args = ["build"]
[[contributes.runDetectors]]
id = "hardhat-test"
name = "hardhat test"
files = ["hardhat.config.ts", "hardhat.config.js"]
command = "npx"
args = ["hardhat", "test"]
test = true