C
C#3w ago
unifpe

Aggregate debug info of vscode debugger hover into another server

general question: does anybody know how to access debug info, i mean variable hover info of vscode, from another program or process, i would like to send info to other server and aggregate information there
3 Replies
unifpe
unifpeOP3w ago
I think i could be javascript related as one could access devtools in vscode and do some manipulation from there, however if there is some standard way of sending information it would be great
lycian
lycian3w ago
You can invoke the command yourself via the built in command
vscode.executeHoverProvider - Execute all hover providers.

uri - Uri of a text document
position - A position in a text document
(returns) - A promise that resolves to an array of Hover-instances.
vscode.executeHoverProvider - Execute all hover providers.

uri - Uri of a text document
position - A position in a text document
(returns) - A promise that resolves to an array of Hover-instances.
https://code.visualstudio.com/api/references/commands
Built-in Commands
Visual Studio Code built-in commands reference.
unifpe
unifpeOP3w ago
Thank you, this is what i was looking for
Want results from more Discord servers?
Add your server