我正在使用VSCode对XML文件进行全局搜索。在这些文件中有多个这些XML标记的实例:<translated></translated>。我需要找到在这些标记之间的任何一个连字符-的所有出现,其中这些标记的内容可以在多行上。
<translated>
Content is here
Could be on multiple lines
The meeting could take 3-4 hours
</translated>
在上面的例子中,短语"3-4小时“中有一个连字符。我需要一个适用于VSCode的正则表
为什么context.subscriptions**?**扩展教程推荐向 VSCode订阅已注册的命令
从我到目前为止所能知道的情况来看,这似乎是不必要的,也没有什么用。
下面是来自VSCode扩展的一个
let disposable = vscode.commands.registerCommand('extension.helloWorld', () => {
// The code you place here will be executed every time your command is executed
// Display a mes
从今天开始,我无法连接到VSCode中的远程服务器。输出中的错误显示此重复5次:
[15:34:11.799] SSH Resolver called for "ssh-remote+my-server", attempt 5, (Reconnection)
[15:34:11.805] SSH Resolver called for host: my-server
[15:34:11.808] Setting up SSH remote "my-server"
[15:34:11.819] Using commit id "d045a5eda657f4