小编Iva*_*anM的帖子

VS Code 扩展可以从其他程序获取 URI 请求吗?

I found information on the official docs that onUri can be used as an activation event. So, my extension can be activated from, say, a WPF program written in C# by calling the URI such as vscode://myextension/arg1=foo&arg2=bar. But nowhere does it say how I can get the arguments that were passed with the URI request. Or even just get a raw string of it.

My question is, can it be done and if not, is there any other way …

visual-studio-code vscode-extensions

4
推荐指数
1
解决办法
2858
查看次数