SwingShellSuggestion

data class SwingShellSuggestion @JvmOverloads constructor(val replacementText: String, val displayText: String = replacementText, val detail: String = "", val source: String = "")

Host-provided shell suggestion shown by the reusable Swing terminal popup.

The Swing layer only presents and selects suggestions. It does not decide how accepted text should replace the command line because shell editing semantics belong to the host/provider that produced the suggestion.

Constructors

Link copied to clipboard
constructor(replacementText: String, displayText: String = replacementText, detail: String = "", source: String = "")

Properties

Link copied to clipboard

secondary text shown below displayText, such as flags, path context, or a short description.

Link copied to clipboard

primary text shown in the popup.

Link copied to clipboard

text the provider intends to insert or use for command-line replacement after acceptance.

Link copied to clipboard

compact source label, such as history, path, or git.