Word completion during debugging
See original GitHub issue@renkun-ken I have seen that you did some work on the R language server https://github.com/REditorSupport/languageserver. The debug protocol also offers a possibility to have word completions from a debug session using CompletionRequests:
interface CompletionsRequest extends Request {
arguments: CompletionsArguments;
}
/** Arguments for 'completions' request. */
interface CompletionsArguments {
/** Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope. */
frameId?: number;
/** One or more source lines. Typically this is the text a user has typed into the debug console before he asked for completion. */
text: string;
/** The character position for which to determine the completion proposals. */
column: number;
/** An optional line for which to determine the completion proposals. If missing the first line of the text is assumed. */
line?: number;
}
/** Response to 'completions' request. */
interface CompletionsResponse extends Response {
body: {
/** The possible completions for . */
targets: CompletionItem[];
};
}
(from vscode-R-debugger\node_modules\vscode-debugprotocol\lib\debugProtocol.d.ts)
Do you think this would be possible/easy to implement using existing code?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Completion (Debugging with GDB) - sourceware.org
GDB can fill in the rest of a word in a command for you, if there is only one possibility; it can also...
Read more >Debugging with - Completion
Go to the first, previous, next, last section, table of contents. Command completion. can fill in the rest of a word in a...
Read more >Debug console auto-completion interferes and messes up my ...
Basically I typed (int) and then pressed enter to run the command; What happens is that the auto completion thinks I want to...
Read more >Navigate through code by using the Visual Studio debugger
Shift+F11, Step Out, Step Out continues running code and suspends execution when the current function returns. The debugger skips through the ...
Read more >Debugging with GDB - Command completion
GDB can fill in the rest of a word in a command for you, if there is only one possibility; it can also...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

https://github.com/ManuelHentschel/vscDebugger/pull/24
Adds completion of installed packages, language constants, and lazydata.
Now the completion in debug console is quite complete.