大表哥
大表哥
### Types - [x] 🐛 Bug Fixes ### Background or solution ### Changelog - worker host env api error, add clipboard
### Types - [x] 🪚 Refactors ### Background or solution 由于 `walkThroughSnippets` 协议的文档在 output 以及 debug 模块都有用到,原有的实现将该 provider 注册放在 debug 模块不太合理,迁移到 file-scheme 模块与其他通用 scheme 注册放在一起 ### Changelog - 迁移 `walkThroughSnippets`...
**如果你的需求与问题相关,请在下面描述一下(Is your feature request related to a problem? Please describe.)** 类似 VS Code 的 [ScreenCast mode](https://code.visualstudio.com/updates/v1_31#_screencast-mode),便于截图演示时展示按键信息 **描述你预期的功能表现(Describe the solution you'd like)** **描述你考虑过的替代方案(Describe alternatives you've considered)** **补充信息(Additional context)**
Add build scripts for wasm binding. Checklist: - [ ] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [ ] Grammar...
Add build scripts for wasm binding.
### Types - [x] 🚀 Performance Improvements ### Background or solution ### Changelog
### Types - [x] 🎉 New Features ### Background or solution  ### Changelog - extension treeview 支持动态设置 description 和 message 属性 - extension treeview 相关 label 和 description 支持插入...
**如果你的需求与问题相关,请在下面描述一下(Is your feature request related to a problem? Please describe.)** 类似针对插件进程的 `Start Extension Host Profile` 命令,用于生成 Server 进程运行时的 cpuprofile 文件,便于排查 Server 端问题  **描述你预期的功能表现(Describe the solution you'd like)** - 新增...
[上一篇文章](https://github.com/Aaaaash/blog/issues/11)简单介绍了 LSP 协议和如何利用 LSP 为 Monaco 编辑器提供语言特性功能,以及如何向 Web 端的在线编辑器适配 LSP 服务。本文将继续深入这一话题,了解面向在线编辑器环境下,利用 LSP 实现这些功能有哪些需要注意的点以及填坑指南。由于笔者水平有限,如有疏漏之处还请指出。 ## 从搭建一个简单的 WebSocket 服务器开始 上篇说到,要实现这样一个服务,需要有一层 WebSocket 与客户端相连接做中转层,由于 LSP 服务不涉及其他功能,所以这个服务器只需要有一个简单的 HTTP 服务,能够与客户端连接相互通信即可。 我们使用 [socket.io](https://github.com/socketio/socket.io) 来搭建 WebSocket 服务,代码非常简单 ```typescript...
> 本系列文章为Monaco-Editor编辑器折腾、踩坑记录,涉及到协同编辑、代码提示、智能感知等功能的实现,不定期更新 ## Monaco-Editor简介 [monaco-editor](https://github.com/Microsoft/monaco-editor)是微软开源的一款web端文本编辑器,也就是vscode内置的编辑器,扩展性很强,原生暴露了很多用于代码提示、高亮显示等API > 仅为核心编辑器部分,不包含vscode的插件系统、文件数及terminal ## 基本用法 monaco的基本用法非常简单,导入核心依赖及相应语言依赖包,调用`monaco.editor.create`方法即可创建一个简单的编辑器 ```javascript import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; import 'monaco-editor/esm/vs/editor/browser/controller/coreCommands'; import 'monaco-editor/esm/vs/editor/contrib/find/findController'; // php依赖包,提供代码语法解析及代码高亮等功能 import 'monaco-editor/esm/vs/basic-languages/php/php'; import 'monaco-editor/esm/vs/basic-languages/php/php.contribution'; const container =...