Skip to main content

RoutingPayload

Type Alias RoutingPayload 

Source
pub type RoutingPayload = RoutingPayload;

Aliased Type§

pub enum RoutingPayload {
Show 20 variants Buffer(u32), ResolveDiff(ResolveDiffPayload), LspInstance(LspInstancePayload), LspLocation(Location), LspCompletion(u32), LspCodeAction(u32), OpenFile(String), JumpInBuffer(JumpTarget), InvokeCommand(CommandRef), PasteRegister(char), JumpToMark(char), ExpandSnippet(String), AcceptShowMessageAction(ShowMessageActionPayload), LspCodeLens(u32), ColorPresentation(u32), Colorscheme(String), AiSession(AiSessionPayload), PaneHistoryEntry(u32), FileLocation(Location), Create(String),
}

Variants§

§

Buffer(u32)

§

ResolveDiff(ResolveDiffPayload)

§

LspInstance(LspInstancePayload)

§

LspLocation(Location)

§

LspCompletion(u32)

§

LspCodeAction(u32)

§

OpenFile(String)

§

JumpInBuffer(JumpTarget)

§

InvokeCommand(CommandRef)

§

PasteRegister(char)

§

JumpToMark(char)

§

ExpandSnippet(String)

§

AcceptShowMessageAction(ShowMessageActionPayload)

§

LspCodeLens(u32)

§

ColorPresentation(u32)

§

Colorscheme(String)

§

AiSession(AiSessionPayload)

§

PaneHistoryEntry(u32)

§

FileLocation(Location)

OR.6: a place in a file on disk. The peer picker-accept-outcome’s jump-to-location already had and this side lacked — without it a row standing for a position in a file can only carry open-file, which drops the line and lands at the top. Distinct from lsp-location, which is the same shape under a name that says where it came from.

§

Create(String)

OR.5: the query the user typed, carried by the picker’s synthetic create row. Verbatim — spaces and non-ASCII included — because the source is creating something the USER named, and trimming here would be the picker having an opinion about a namespace it does not own.