zhi
zhi
**描述你的问题(Describe the bug)** 对于 URI.file 在创建本地路径时, Web 环境创建的路径全是错的。 **复现路径(To Reproduce)** ```js const u = URI.file('d:\\repo\\ide-electron\\node_modules\\vscode-oniguruma\\release\\onig.wasm'); console.log(u.toString()); // Node.js // file:///d%3A/repo/ide-electron/node_modules/vscode-oniguruma/release/onig.wasm // Web // file:///d%3A%5Crepo%5Cide-electron%5Cnode_modules%5Cvscode-oniguruma%5Crelease%5Conig.wasm ``` **预期表现(Expected behavior)** 预期是 Node.js 的行为...
# Implement a Chrome DevTools for viewing OpenSumi communication messages ## Background This is an advance subject of [ASoC 2022](https://opensource.alibaba.com/asoc2022) and #1103 . The current architecture of OpenSumi is a...
**描述你的问题(Describe the bug)** **复现路径(To Reproduce)** **预期表现(Expected behavior)** 精确内容需要在顶部 **问题截图(Screenshots)** **环境信息(Environment)** - OS: macOS monterey - Browser: Chrome - OpenSumi Version: v2.19 分支 **补充信息(Additional context)**
### Types - [x] 🪚 Refactors ### Background or solution 由于 Electron Header Bar 在不同的场景提供的内容不一样,需要把 Electron 的左右两个组件拆出来,方便集成方自由组合。 ### Changelog
**如果你的需求与问题相关,请在下面描述一下(Is your feature request related to a problem? Please describe.)** 1. [ ] 升级到 webpack 5,明确区分 Node.js 模块以及 mock 部分 2. [ ] 治理 Electron webContents 以及 BrowserWindow 的 id...
### Types - [x] 🪚 Refactors ### Background or solution 由于 ide-core-browser 引用了 vscode-jsonrpc 的 node 版本,导致不管是 Web 版本还是 Electron 版本在 Browser 环境都需要 Webpack mock 一整套代码,会导致 browser 和 node 层难以分离。...
**描述你的问题(Describe the bug)** **复现路径(To Reproduce)** 1. 打开一个项目,Activity Bar 默认切换到的是 File Explorer 界面 2. 让应用界面使用窗口管理工具切换大小 3. Outline 的那一条没有自动变到底部 **预期表现(Expected behavior)** Outline pane 应该自动依附到底部 **问题截图(Screenshots)**  **环境信息(Environment)** - OS: macOS - Browser:...
**描述你的问题(Describe the bug)** **复现路径(To Reproduce)** 1. 打开变量的 peek view 2. 用快捷键注释 peek view 中其它文件的代码 3. 最后只有编辑器中的代码被注释, peek view 中没有改变 **预期表现(Expected behavior)** **问题截图(Screenshots)**  **环境信息(Environment)** - OS: Mac - Browser: Electron...
### Types - [x] 🪚 Refactors ### Background or solution 1. 在 electron 中 `new BrowserWindow` 有时候耗时 40ms 左右,可以把 Node.js 进程启动时机提前,能在 Renderer 进程与 Node.js 进程建立链接的时候加快启动的时间。 2. 使用 electron [handle](https://www.electronjs.org/docs/latest/api/ipc-main#ipcmainhandlechannel-listener) 和...
**如果你的需求与问题相关,请在下面描述一下(Is your feature request related to a problem? Please describe.)** Electron 桌面端版本充斥着大量的 ElectronEnv,有几个明显的问题: 1. 不知道什么时候有数据 2. 不是到哪些数据是已经更新完成了 3. 来自各个地方都能修改数据,导致这个变量难以维护 4. 不要暴露全局变量到框架外部 **描述你预期的功能表现(Describe the solution you'd like)** 把 ElectronEnv 中多个变量拆分成多个服务,最后的一部分可以单独设置为应用整体的 ClientEnvInfoService...