core
core copied to clipboard
[BUG] 插件里自定义 schema 的文件,打开后刷新会导致 url 跳转到错误地址
描述你的问题(Describe the bug)
复现路径(To Reproduce)
插件里注册了 registerFileSystemProvider,然后创建自定义 schema 协议的文件,并写入内容 然后通过 openTextDocument 和 showTextDocument 打开到编辑器展示 此时刷新浏览器 整个 url 地址就会变成 ${window.location.origin}/${自定义 schema 文件}
持续刷新都会跳转过去
预期表现(Expected behavior)
问题截图(Screenshots)
环境信息(Environment)
- OS: [e.g. macOS 11.2 Apple M1/Windows10/Windows11]
- Browser [e.g. chrome, safari]
- OpenSumi Version [e.g. 2.13.0]
补充信息(Additional context)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.