MCPcopy Create free account
hub / github.com/Snapchat/Valdi / sendPrintCommand

Function sendPrintCommand

valdi/vscode_debugger/src/ui/prettyPrint.ts:198–207  ·  view source on GitHub ↗
(
  session: vscode.DebugSession,
  source: Dap.Source,
  cursor: vscode.Position,
)

Source from the content-addressed store, hash-verified

196}
197
198const sendPrintCommand = (
199 session: vscode.DebugSession,
200 source: Dap.Source,
201 cursor: vscode.Position,
202) =>
203 session.customRequest('prettyPrintSource', {
204 source,
205 line: cursor.line,
206 column: cursor.character,
207 });
208
209/**
210 * Gets the DAP source and session for a VS Code document URI.

Callers 2

prettifyActiveMethod · 0.85
trySuggestPrintingMethod · 0.85

Calls 1

customRequestMethod · 0.80

Tested by

no test coverage detected