代码编辑器换成 Monaco:C# 高亮、错误波浪线与跳转、F5 运行、草稿保存

- 编译错误以波浪线标在代码里,点下方错误信息跳到对应行
- F5 运行、Shift+F5 停止,在整个页面生效并阻止浏览器刷新
- 改过的代码保存在浏览器本地,刷新不丢,可一键恢复原始代码
- Designer.cs 顶部提示由设计器生成
- Monaco 按需加载(编辑功能 + C# 高亮),打包后约 1.2 MB(gzip)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-22 10:56:34 +08:00
1 parent fbb8a334c3
commit 03e80ce2e2
8 files changed
+405 -153

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
},
"dependencies": {
"@iot/shared": "workspace:*",
"monaco-editor": "^0.57.0",
"naive-ui": "^2.41.0",
"vue": "^3.5.0"
},