chore: v0.1.58-nightly.20261204

Цей коміт міститься в:
github-actions[bot] committed 2026-12-04 19:33:42 +00:00
1 джерело 65e243f5fc
коміт 419f4485da
37 files changed
+296 -91

No files matched your search

Створено
+49 -49
Переглянути файл
@@ -4154,7 +4154,7 @@ checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
[[package]]
name = "ide-agent"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"blake3",
@@ -4185,7 +4185,7 @@ dependencies = [
[[package]]
name = "ide-analysis"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ast-grep-core",
"ide-core",
@@ -4197,7 +4197,7 @@ dependencies = [
[[package]]
name = "ide-android"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"serde",
@@ -4209,7 +4209,7 @@ dependencies = [
[[package]]
name = "ide-build"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"blake3",
"chardetng",
@@ -4227,7 +4227,7 @@ dependencies = [
[[package]]
name = "ide-cli"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"dirs 6.0.0",
"serde",
@@ -4241,7 +4241,7 @@ dependencies = [
[[package]]
name = "ide-clipboard"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"gtk",
"objc2 0.6.5",
@@ -4252,7 +4252,7 @@ dependencies = [
[[package]]
name = "ide-command"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"heck",
"proc-macro2",
@@ -4263,7 +4263,7 @@ dependencies = [
[[package]]
name = "ide-core"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"dirs 6.0.0",
@@ -4285,7 +4285,7 @@ dependencies = [
[[package]]
name = "ide-coverage"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"ide-run",
@@ -4298,7 +4298,7 @@ dependencies = [
[[package]]
name = "ide-dap"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"futures",
@@ -4328,7 +4328,7 @@ dependencies = [
[[package]]
name = "ide-db"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"bb8",
@@ -4367,7 +4367,7 @@ dependencies = [
[[package]]
name = "ide-docker"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"serde",
@@ -4380,7 +4380,7 @@ dependencies = [
[[package]]
name = "ide-drag-out"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"gtk",
"objc2 0.6.5",
@@ -4394,7 +4394,7 @@ dependencies = [
[[package]]
name = "ide-extension"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"blake3",
@@ -4414,7 +4414,7 @@ dependencies = [
[[package]]
name = "ide-flutter"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-android",
"ide-core",
@@ -4425,7 +4425,7 @@ dependencies = [
[[package]]
name = "ide-fonts"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"objc2-core-foundation",
"objc2-core-text",
@@ -4437,7 +4437,7 @@ dependencies = [
[[package]]
name = "ide-github"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"ide-vcs",
@@ -4449,7 +4449,7 @@ dependencies = [
[[package]]
name = "ide-heap"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"criterion",
"ide-core",
@@ -4468,7 +4468,7 @@ dependencies = [
[[package]]
name = "ide-host"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"blake3",
@@ -4552,7 +4552,7 @@ dependencies = [
[[package]]
name = "ide-http"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"http",
@@ -4575,7 +4575,7 @@ dependencies = [
[[package]]
name = "ide-index"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"blake3",
"criterion",
@@ -4598,7 +4598,7 @@ dependencies = [
[[package]]
name = "ide-jdwp"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-jvm-inspect",
"proptest",
@@ -4610,7 +4610,7 @@ dependencies = [
[[package]]
name = "ide-jsonrpc"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"encoding_rs",
"ide-core",
@@ -4626,7 +4626,7 @@ dependencies = [
[[package]]
name = "ide-jvm-attach"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"libc",
"tempfile",
@@ -4635,7 +4635,7 @@ dependencies = [
[[package]]
name = "ide-jvm-inspect"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"futures",
"serde",
@@ -4646,7 +4646,7 @@ dependencies = [
[[package]]
name = "ide-language"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"blake3",
"criterion",
@@ -4708,7 +4708,7 @@ dependencies = [
[[package]]
name = "ide-lsp"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"criterion",
"dunce",
@@ -4738,7 +4738,7 @@ dependencies = [
[[package]]
name = "ide-mcp"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"bytes",
"dunce",
@@ -4757,7 +4757,7 @@ dependencies = [
[[package]]
name = "ide-notebook"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"futures",
"ide-core",
@@ -4782,7 +4782,7 @@ dependencies = [
[[package]]
name = "ide-plugin"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"blake3",
"dunce",
@@ -4804,7 +4804,7 @@ dependencies = [
[[package]]
name = "ide-profiler"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"ide-jvm-attach",
@@ -4818,7 +4818,7 @@ dependencies = [
[[package]]
name = "ide-remote"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"dunce",
"futures",
@@ -4838,7 +4838,7 @@ dependencies = [
[[package]]
name = "ide-run"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"blake3",
"dunce",
@@ -4865,7 +4865,7 @@ dependencies = [
[[package]]
name = "ide-scaffold"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"ide-tools",
@@ -4881,7 +4881,7 @@ dependencies = [
[[package]]
name = "ide-sdk"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"dirs 6.0.0",
@@ -4907,7 +4907,7 @@ dependencies = [
[[package]]
name = "ide-search"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"criterion",
"encoding_rs",
@@ -4928,7 +4928,7 @@ dependencies = [
[[package]]
name = "ide-spell"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"parking_lot 0.12.5",
@@ -4941,7 +4941,7 @@ dependencies = [
[[package]]
name = "ide-ssh"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"dirs 6.0.0",
"flate2",
@@ -4966,7 +4966,7 @@ dependencies = [
[[package]]
name = "ide-streams"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"ide-language",
@@ -4979,7 +4979,7 @@ dependencies = [
[[package]]
name = "ide-svn"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"dunce",
"encoding_rs",
@@ -4994,7 +4994,7 @@ dependencies = [
[[package]]
name = "ide-syntax"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"ide-language",
@@ -5009,7 +5009,7 @@ dependencies = [
[[package]]
name = "ide-terminal"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"ide-core",
"libc",
@@ -5023,7 +5023,7 @@ dependencies = [
[[package]]
name = "ide-text"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"criterion",
"ide-core",
@@ -5036,7 +5036,7 @@ dependencies = [
[[package]]
name = "ide-tools"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"blake3",
@@ -5063,7 +5063,7 @@ dependencies = [
[[package]]
name = "ide-vcs"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"blake3",
"dunce",
@@ -5085,7 +5085,7 @@ dependencies = [
[[package]]
name = "ide-vfs"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"chardetng",
"dunce",
@@ -5112,7 +5112,7 @@ dependencies = [
[[package]]
name = "ide-web"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"dirs 6.0.0",
"ide-core",
@@ -5128,7 +5128,7 @@ dependencies = [
[[package]]
name = "ide-workspace"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"blake3",
"dunce",
@@ -6783,7 +6783,7 @@ dependencies = [
[[package]]
name = "openidea"
version = "0.1.57"
version = "0.1.58-nightly.20261204"
dependencies = [
"base64 0.22.1",
"blake3",
+1 -1
Переглянути файл
@@ -5,7 +5,7 @@ members = ["crates/*", "src-tauri"]
exclude = ["sdk", "plugins", "vendor"]
[workspace.package]
version = "0.1.57"
version = "0.1.58-nightly.20261204"
edition = "2024"
rust-version = "1.96"
license = "Apache-2.0"
+1 -1
Переглянути файл
@@ -2,7 +2,7 @@
"name": "openidea",
"private": true,
"description": "An open-source IDE inspired by IntelliJ IDEA",
"version": "0.1.57",
"version": "0.1.58-nightly.20261204",
"license": "Apache-2.0",
"type": "module",
"scripts": {
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Forking recorded native agent sessions into new tasks (API 1.18). Requires
/// the `agents` capability. The session must belong to the invoking window's
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// The commit being prepared in the window the current command or event came
/// from (the Commit tool window, or the Commit dialog while it is open): the
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (API 1.16, world `plugin-completion-list`): completion that
/// can say its list is incomplete. A plugin exporting it is called instead of
+46 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Plugin-owned project data sources. Requires database.sources and project trust.
/// Runs on the Database subsystem's host, including on remote project servers.
@@ -69,4 +69,49 @@ interface database {
/// sources. Requires the separate database.schema grant and a trusted project.
/// Never connects a source, returns credentials/rows, or executes caller SQL.
describe-table: func(project: borrow<project>, table: table-ref) -> result<table-schema, error>;
/// Non-secret identity of an already connected project data source (API 1.21).
record connected-source {
source-id: string,
name: string,
driver: string,
database: option<string>,
}
/// A table or view summary in a connected schema (API 1.21).
record table-summary {
name: string,
kind: string,
comment: option<string>,
}
/// Column metadata of a query result (API 1.21).
record query-column {
name: string,
type-name: string,
}
/// Bounded result of executing a SQL statement on a connected source (API 1.21).
record query-result {
columns: list<query-column>,
rows: list<list<option<string>>>,
affected: option<u64>,
has-more: bool,
elapsed-ms: u64,
}
/// Lists already connected project sources (non-secret identity only, API 1.21).
/// Requires database.schema and a trusted project; never connects sources or returns credentials.
connected-sources: func(project: borrow<project>) -> result<list<connected-source>, error>;
/// Lists schemas of an already connected project source (API 1.21).
/// Requires database.schema and a trusted project; never connects sources or returns credentials.
list-schemas: func(project: borrow<project>, source-id: string) -> result<list<string>, error>;
/// Lists tables and views in a schema of an already connected project source (API 1.21).
/// Requires database.schema and a trusted project; never connects sources or returns credentials.
list-tables: func(project: borrow<project>, source-id: string, schema: string) -> result<list<table-summary>, error>;
/// Executes a SQL statement on an already connected project source (API 1.21).
/// Requires the separate high-risk database.query grant and a trusted project.
/// Never connects a disconnected source or returns credentials; max-rows is clamped to 1..=1000.
execute-query: func(
project: borrow<project>,
source-id: string,
sql: string,
max-rows: option<u32>,
) -> result<query-result, error>;
}
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Editor and project-tree decorations (API 1.4). Requires project.read. An editor set
/// follows its file: the file's own project, or the nearest one when it is outside them all.
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// What the pane beside the Services tree shows for a plugin's node.
interface detail-types {
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (world `plugin-diagnostics`): problems in the current,
/// possibly unsaved document, for the languages declared with the
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// HTTP endpoints found in a project (`[[contributes.endpoints]]`).
interface endpoints-provider {
+5 -2
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Workbench events, delivered in batches to `event-handler.handle`.
interface events {
@@ -41,13 +41,16 @@ interface events {
/// work waits for it; it requires `events`) through `other`.
/// API 1.18 also delivers `project-closed` (JSON project root string) and
/// `watched-files-changed` (see `watch-paths`) through `other`.
/// API 1.21 also delivers `run-started` (JSON {id, config, debug}) through `other`
/// whenever one of this plugin's configurations starts (whether launched by the plugin
/// or by the user), and delivers `run-exited` for user-launched plugin configurations too.
/// Kinds: `file-opened`, `file-saved`, `document-changed` (versioned UTF-16
/// replacements from explicit path subscriptions), `websocket-ready`
/// (a host-owned connection has messages to drain), `caret-moved`, `files-changed` (batched disk changes
/// as `other`, with created/modified/removed path lists in JSON), `editor-focused` (the focused editor
/// changed), `vcs-changed` (a repository's state changed: commit,
/// checkout, fetch…), `action-performed` (an IDE action ran),
/// `project-closed` (a project closed) and
/// `project-closed` (a project closed), `run-started`, `run-exited`, and
/// `scheduled` (the `on-schedule` period elapsed); later IDEs add more,
/// and an IDE that doesn't know one fails with `invalid`.
/// Requires `events` (`events.input` for `action-performed`).
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
interface lifecycle {
use types.{context, error};
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// What other plugins contributed to the extension points this plugin declares
/// (`[[extension-points]]` in `plugin.toml`; the contributors list this plugin
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (world `plugin-file-actions`): quick fixes and
/// refactorings that create, rename or delete files, next to the text edits
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Files outside the open projects: the configuration of the program a
/// plugin integrates with, a tool installed elsewhere, a licence file.
+22 -4
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Writes to the IDE log, tagged with the plugin id.
interface log {
@@ -218,10 +218,10 @@ interface command-runner {
execute: func(id: string, arg: option<string>) -> result<option<string>, error>;
}
/// Requests to the language servers the IDE runs (API 1.9).
/// Requests and read-only semantic queries against running IDE language servers (API 1.9; semantic queries API 1.21).
interface language-servers {
use types.{error};
use workspace.{project};
use types.{error, location, position};
use workspace.{project, symbol-info};
/// Sends `method` to the server named `server` (the `name` of its
/// `[[language-servers]]` entry in the language definition, e.g. `phoxite`)
@@ -243,6 +243,24 @@ interface language-servers {
/// The same for a notification: no answer is awaited.
notify: func(project: borrow<project>, server: string, method: string, params: option<string>) -> result<_, error>;
/// Resolves declaration targets at `at` through running language servers (`code.semantics`, API 1.21).
definition: func(project: borrow<project>, path: string, at: position) -> result<list<location>, error>;
/// Resolves type definition targets at `at` through running language servers (`code.semantics`, API 1.21).
type-definition: func(project: borrow<project>, path: string, at: position) -> result<list<location>, error>;
/// Resolves implementation targets at `at` through running language servers (`code.semantics`, API 1.21).
implementations: func(project: borrow<project>, path: string, at: position) -> result<list<location>, error>;
/// Finds references at `at`, capped at `limit` (`code.semantics`, API 1.21).
references: func(project: borrow<project>, path: string, at: position, limit: u32) -> result<list<location>, error>;
/// Reads resolved hover / type signature Markdown at `at` (`code.semantics`, API 1.21).
hover-info: func(project: borrow<project>, path: string, at: position) -> result<option<string>, error>;
/// Reads document outline symbols for a project path or read-only `jdt://` URI (`code.semantics`, API 1.21).
document-symbols: func(project: borrow<project>, path: string) -> result<list<symbol-info>, error>;
}
/// Per-plugin named, read-only Output tabs (API 1.4), with a 1 MiB UTF-8 ring buffer.
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (world `plugin-hover-actions`): clickable actions rendered
/// at the left edge of a line and revealed while the pointer is in the leftmost
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (world `plugin-hover`): Markdown added to the hover of
/// documents of the languages declared with the `hover` provider kind,
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Cross-file associations a plugin publishes for the files it declares under
/// `[[contributes.documentIndexers]]`. The host calls `index` in cancellable
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Embedded languages. The host routes plugin providers and configured language
/// servers inside these ranges, preserving host-document UTF-16 coordinates.
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (world `plugin-inlay-hints`): inline hints in documents of
/// the languages declared with the `inlay-hints` provider kind, including
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Problems in files, shown in the editor and the Problems view.
interface diagnostics {
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Additional language features, called only for declared API 1.4 provider kinds.
/// Editor calls have a 50 ms soft / 500 ms hard budget; formatting has 5 seconds.
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Discovery of the IDE's built-in MCP server; never exposes its URL or token.
interface mcp {
+1 -1
Переглянути файл
@@ -8,7 +8,7 @@
/// `fs` and `workspace`, and everything else goes through the imports below,
/// gated by the capabilities granted in `plugin.toml` (a missing one returns
/// `error::denied`).
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
world plugin {
import log;
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Editor features a plugin provides for the languages it declares under
/// `[[contributes.providers]]` (the host calls only declared kinds). They run
+33
Переглянути файл
@@ -0,0 +1,33 @@
package openidea:[email protected];
/// Optional export (world `plugin-rename`, API 1.21): prepare-rename and
/// cross-file workspace rename edits alongside native language servers.
interface rename-provider {
use types.{error, position, range};
use providers.{document, file-edit};
/// Editable target range and optional prefilled text for inline/dialog rename.
record prepare-rename-result {
range: range,
placeholder: option<string>,
}
/// Checks whether `at` names a symbol this plugin can rename, under the
/// editing-path budget. Returning `none` lets other providers or LSP answer.
prepare-rename: func(doc: document, at: position) -> option<prepare-rename-result>;
/// Computes cross-file edits to rename the symbol at `at` to `new-name`
/// (command budget; runs alongside any native language server).
rename: func(doc: document, at: position, new-name: string) -> result<list<file-edit>, error>;
}
/// The optional export-only world the SDK merges with `plugin`.
world rename-exports {
export rename-provider;
}
/// The host-side world used to instantiate a component that exports it.
world plugin-rename {
include plugin;
export rename-provider;
}
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Project-scoped targets owned by the registering plugin (API 1.4).
interface run-targets {
+25 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Launches this plugin's configurations in the invoking window's Run tool window.
interface run {
@@ -24,6 +24,30 @@ interface run {
start: func(config: string, args: list<string>, debug: bool) -> result<string, error>;
/// Starts an owned configuration with launch options, appending args (API 1.18).
start-with-options: func(config: string, args: list<string>, options: start-options) -> result<string, error>;
/// Stops an active run started from one of this plugin's configurations (API 1.21).
/// Only from a window command/event.
stop: func(id: string) -> result<_, error>;
/// Payload for `upsert-configuration` (API 1.21).
record run-config-draft {
/// Existing saved config id to update (`none` creates a new configuration).
id: option<string>,
/// Id from one of this plugin's own `[[contributes.runConfigTypes]]`.
type-id: string,
name: string,
command: option<string>,
args: list<string>,
cwd: option<string>,
env: list<tuple<string, string>>,
params: list<tuple<string, string>>,
allow-parallel: bool,
}
/// Creates or updates a saved run configuration of one of this plugin's own
/// `contributes.runConfigTypes` in the invoking window's project (API 1.21).
/// Returns the saved configuration id.
upsert-configuration: func(draft: run-config-draft) -> result<string, error>;
/// Opens the Run/Debug Configurations dialog in the invoking window, optionally
/// selecting `config-id` (API 1.21).
open-edit-configurations: func(config-id: option<string>) -> result<_, error>;
}
/// Optional dynamic configurations, refreshed alongside run detectors.
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// On-demand results for `[[contributes.searchCategories]]`. Optional, API 1.13.
interface search-provider {
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (world `plugin-semantic-tokens`): semantic colouring of
/// documents of the languages declared with the `semantic-tokens` provider
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Optional export (world `plugin-syntax-decorations`): foreground marks for
/// documents of the languages declared with the `syntax-decorations` provider
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Shared types. Positions are 0-based lines and UTF-16 code unit columns,
/// as in the editor and LSP.
+1 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
/// Declarative views: tool windows declared
/// under `[[contributes.views]]` and custom editors under
+63 -1
Переглянути файл
@@ -1,4 +1,4 @@
package openidea:[email protected]0.0;
package openidea:[email protected]1.0;
interface workspace {
use types.{error, location};
@@ -172,6 +172,10 @@ interface editor {
/// Selections when the command was invoked (a cursor is an empty
/// range). Requires `editor.read`.
selections: func() -> result<list<range>, error>;
/// First and last document line (0-based, inclusive) on screen in this
/// editor when the command or event was invoked; `none` when the editor
/// is not shown. Requires `editor.read` (API 1.21).
visible-lines: func() -> result<option<tuple<u32, u32>>, error>;
/// Applies `edits` as one undoable change, only if the document is
/// still at `version` (else `stale`, and nothing changes). Ranges are
/// in that version and must not overlap. Returns the new version.
@@ -318,4 +322,62 @@ interface build {
/// At most 100,000 nodes (else `failed`: ask for one module). Trusted
/// projects only; requires `build.read`.
dependencies: func(project: borrow<project>, module: option<string>) -> result<list<dependency-node>, error>;
/// One installed interpreter, JDK, or toolchain visible to the IDE (API 1.21).
record sdk-info {
/// SDK kind (`jdk`, `maven`, `python`, `node`, `php`, `package-manager`,
/// `rust`, `go`, `typescript`, `ruby`, `zig`, `dotnet`, `flutter`, `xcode`).
kind: string,
name: string,
/// Executable or home directory path.
path: string,
version: option<string>,
/// Origin (`system`, `venv`, `pyenv`, `mise`, `homebrew`, `user`, …).
source: string,
home: option<string>,
/// True when currently selected for the open project.
active: bool,
}
/// Origin of an artifact returned by `build.artifacts` (API 1.21).
enum artifact-origin {
/// WAR module discovered from a Maven or Gradle build model (`id` is
/// `maven:<pom>` or `gradle:<path>`).
build-model,
/// Entry configured in **Project Structure › Artifacts** (`id` is
/// `project:<name>`).
project-structure,
}
/// Packaging kind of an artifact (API 1.21).
enum artifact-kind {
jar,
war,
war-exploded,
}
/// One deployable WAR module or Project Structure › Artifacts definition (API 1.21).
record artifact-info {
/// Run-configuration artifact identifier (`maven:<pom>`, `gradle:<path>`,
/// or `project:<name>`).
id: string,
origin: artifact-origin,
/// Source build tool (`maven`, `gradle`, or `project`).
tool: string,
name: string,
kind: artifact-kind,
/// Module path relative to project root (`"."` or `""` for root module).
module: string,
output-directory: string,
main-class: string,
include-libraries: list<string>,
}
/// Installed SDKs / toolchains relevant to this project, optionally narrowed by
/// `kind` (API 1.21). Trusted projects only; requires `build.read`.
sdks: func(project: borrow<project>, kind: option<string>) -> result<list<sdk-info>, error>;
/// Deployable WAR modules from the build model and Project Structure › Artifacts
/// definitions of this project (API 1.21). Trusted projects only; requires `build.read`.
artifacts: func(project: borrow<project>) -> result<list<artifact-info>, error>;
}
+24 -4
Переглянути файл
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenIDEA",
"version": "0.1.57",
"version": "0.1.58-nightly.20261204",
"identifier": "ai.l0ng.openidea",
"build": {
"beforeDevCommand": "pnpm dev",
@@ -31,9 +31,22 @@
},
"bundle": {
"active": true,
"targets": "all",
"targets": [
"app",
"dmg",
"appimage",
"deb",
"msi",
"nsis"
],
"createUpdaterArtifacts": true,
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
],
"category": "DeveloperTool",
"copyright": "Copyright © 2026 OpenIDEA contributors",
"license": "Apache-2.0",
@@ -42,13 +55,20 @@
"macOS": {
"entitlements": "./Entitlements.plist",
"minimumSystemVersion": "11.0"
},
"windows": {
"wix": {
"version": "0.1.57.20"
}
}
},
"mainBinaryName": "openidea",
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDFCOUU0MUFFOUY4NzZCNkQKUldSdGE0ZWZya0dlRzNnRFJUR2loUVdNZ1BmamxkNzFoaWNPUTBsRmI0cjhxZFRqQURybkMwakEK",
"endpoints": ["https://github.com/l0ng-ai/openidea/releases/latest/download/latest.json"]
"endpoints": [
"https://github.com/l0ng-ai/openidea/releases/download/nightly/latest.json"
]
}
}
}