John

Results 71 comments of John

CommandRegistry 有个 beforeExecuteCommand 函数,可以对各种 command 命令做前置处理 ![image](https://github.com/opensumi/core/assets/20262815/d6eb02dc-08a9-43bf-b4a0-a8a03c83b5c1)

看一下这里 https://github.com/opensumi/core/blob/main/packages/debug/src/browser/debug-session.ts#L143

插件发起的一个 RunInTerminal Request DAP 请求。你要修改的参数在 launch.json 里也可以配置的

噢,你指的是这个配置啊,可以在 setting.json 里配的,python 插件都是有提供配置项的,具体可以看看 python 插件的文档

https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md

由于 monaco 0.53 还未发版。需要自己基于 vscode 最新的 1.95 版本构建出 0.53.0-dev 的 monaco 版本

相关 pr:https://github.com/opensumi/monaco-editor-core/pull/21

待解决的问题 - [x] nls - [x] esm 模块问题 - [x] 集成验证

问题记录: ![image](https://github.com/user-attachments/assets/71782d7a-cc99-4915-8a8b-643baa9982b6) monaco 现在都是编译成 esm 文件了,而我们现在还是编译成 commonjs,导致插件进程依赖 monaco 的一些 base 文件运行失败 ![image](https://github.com/user-attachments/assets/bd01c09a-cf66-4174-b5c1-5cf7fc8f5ef6) 正常来说插件进程文件是不应该依赖 monaco 的,这块需要进行调整 --- - [x] 已解决:https://github.com/opensumi/core/pull/4227/commits/5a35afd0e7b50afd84c36afe5f491419e108c0e1