IdeCommand class
The :ide [path] local command: opens a full-screen, IntelliJ/VS Code-style
terminal IDE rooted at path (default: the current directory). It shows a
file-tree sidebar, tabs of open files, syntax highlighting per file type and
a git-change gutter, and lets you edit and save files — all without leaving
the omnyShell session. Press Ctrl-Q to return to the shell.
When run from omnyshell connect, the IDE operates on the remote node's
filesystem at the remote working directory (file reads/writes, listing, git
and the terminal/agent all run on the node). From omnyshell local it
operates on this machine's filesystem. The engine itself is filesystem-
agnostic (see Workspace) and dart:io-free, so a web app can embed it too.
- Inheritance
-
- Object
- LocalCommand
- IdeCommand
Constructors
Properties
-
aliases
→ List<
String> -
Aliases that also invoke this command.
no setteroverride
- description → String
-
A one-line description shown by
:help.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The command name (without the leading
:).no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usage → String?
-
Optional multi-line usage/help text shown under the listing by
:help.no setteroverride
Methods
-
dispose(
) → Future< void> -
Releases any resources the command holds (e.g. an HTTP client / open
sockets), so they do not keep the process alive after the session ends.
Called by LocalCommandRegistry.dispose; the default is a no-op.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
LocalCommandContext context, List< String> args) → Future<void> -
Runs the command with parsed
args.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited