VSCode插件开发提示Could not resolve any model with provided uri
开发环境
- Mac OS 10.12.3
- VSCode 1.9.1
问题描述
- 使用API中的方法
vscode.Uri.parse()
打开一个本地文件;
- 调试时,提示
Could not resolve any model with provided uri.
解决方法
- 将方法
vscode.Uri.parse()
替换为 vscode.Uri.file()
欢迎关注本站公众号,获取更多信息