fengzi1207
fengzi1207
就是自动提示那个功能util.js里面第26行代码, let workspaceFolders = vscode.workspace.workspaceFolders.map(item => item.uri.path) 获取到的Windows下路径不对,Mac下面是一样的 Windows下是这样的 item.uri.path="/d:/AW/awIDE/vscode_plugin" item.uri.fsPath="d:\AW\awIDE\vscode_plugin" Mac下是这样的 item.uri.path=/Users/chenghan/work-codes/vscode-plugin/myself-demo item.uri.fsPath=/Users/chenghan/work-codes/vscode-plugin/myself-demo Windows下 const currentFile = (document.uri ? document.uri : document).fsPath; 的值是 "d:\AW\awIDE\vscode_plugin\fengzitest\src\test.js" 所以在第37行 currentFile.indexOf(folder)进行匹配的时候 返回-1 正确用法应该是 let...
x5集成
楼主 怎么感觉这玩意很不稳定呢 我做的demo一开始用的是系统的webView 怎么都集成不了X5的 第二天了打开一看 可以了 然后程序卸载之后 重新安装又不行了 刚才把你的github上面的例子下载下来 在酷派手机上成功了 卸载之后 重新安装 又不行了 又找了一台三星的机子 一直都没成功过
