mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
在 JVM 侧补 JS/TS 字符串感知增量格式化与 merge 冲突面板说明,并扩展命令盘编辑器关键词;验收与 parity-gap 登记 DIFF-545。 Co-authored-by: Cursor <cursoragent@cursor.com>
2.0 KiB
2.0 KiB
Electron codeEditorLanguage.test.ts → Compose 对照
| 场景 | Electron | Compose |
|---|---|---|
| mime-json-markdown | resolveTextCodeEditorLanguage MIME(application/json、text/markdown 等) |
TextCodeEditorLanguageTest.mapsMimeTypesUsedByQuickNoteAndHttpBodies(DIFF-541) |
| short-names-fallback | node/py/yml/未知 → 语言或 text |
TextCodeEditorLanguageTest.acceptsShortRuntimeNamesAndFallsBackToText |
| git-diff-path | VaultGitDiffView 按路径扩展名选 CodeMirror 语言 |
TextCodeEditorLanguages.resolveFromPath + GitDiffPresentation.languageForFile / rstaSyntaxForFile(DIFF-542 EditorHost) |
| format-js-python | formatCodeEditorContent JS 单线样本 / Python tab |
CodeEditorSurfaceFormatEngineTest + DocumentFormatEngine(DIFF-542) |
| format-ts-surface | TS 仍走 Prettier typescript parser(Electron);Compose 无 Node |
CodeEditorSurfaceFormatEngineTest.formatsTypescriptLikeJavascriptSurface(DIFF-543) |
| format-js-ts-incremental | 字符串/import/箭头/多行块表面间距(非 Prettier AST) | CodeEditorSurfaceFormatEngineTest(字符串/import/箭头/多行;DIFF-545) |
| format-markdown-incremental | formatCodeEditorContent → Prettier plugins/markdown(列表/标题/引用/围栏样本) |
CodeEditorSurfaceFormatEngineTest.formatsMarkdownLikePrettierSamples 等 + DocumentFormatEngine.format(..., "text/markdown", ...)(DIFF-544;非 AST/reflow) |
| git-diff-decoration | Vault Git diff 高亮 | GitDiffDecorationTest + GitDiffPresentation.diffHighlightMode(DIFF-543) |