We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://code.visualstudio.com/api/advanced-topics/remote-extensions https://open-vsx.org/
The text was updated successfully, but these errors were encountered:
我们确实也考虑过,但一方面不知道该怎么弄,一方面咕咕咕,就这样了
Sorry, something went wrong.
给点建议:
https://github.com/yltx/vscode-luogu-stable/blob/9278509cfccda81a55a124c6f04ea5ca0f486704/package.json#L37 把 extensionKind 删掉,或者再加个 workspace
extensionKind
workspace
如果 Webview 需要从 localhost 获取资源(比如使用 iframe嵌入网页),则应该使用 await vscode.env.asExternalUri(vscode.Uri.parse('http://localhost:11451/foo/bar'))
await vscode.env.asExternalUri(vscode.Uri.parse('http://localhost:11451/foo/bar'))
如果扩展里有二进制可执行文件或直接与操作系统接口交互,在无法保证不同平台兼容性的情况下,尽量使用原生 JS 代码替代
开发时可以使用 code-server 或 GitHub Codespaces,也可以一般环境测试通过之后打包成 vsix 上传到远程开发环境后安装
多用 VSCode Api(比如在浏览器打开链接应该使用 vscode.env.openExternal(vscode.Uri.parse(url)))
vscode.env.openExternal(vscode.Uri.parse(url))
远程开发环境支持了; codespace 由于 luogu 使用 cloudflare 导致来自国外的请求经常失败,难以调试
No branches or pull requests
https://code.visualstudio.com/api/advanced-topics/remote-extensions
https://open-vsx.org/
The text was updated successfully, but these errors were encountered: