优化: 文件预览大纲提取 + 预览/图标/滚动条打磨

This commit is contained in:
lxy
2026-08-10 02:23:53 +08:00
parent 40224d603a
commit 2473dcfe68
10 changed files with 905 additions and 58 deletions
+11
View File
@@ -15,7 +15,18 @@ export default {
selectFileHint: '← Select a file on the left to preview',
loadingFile: 'Loading file…',
binaryNotSupported: 'Binary file preview not supported',
binaryInfo: 'Binary file',
pathLabel: 'Path',
sizeLabel: 'Size',
typeLabel: 'Type',
binaryLabel: 'Note',
truncated: 'File too large, only first 1MB shown',
symbols: 'Outline',
outlineGroupType: 'Types',
outlineGroupFn: 'Functions',
outlineGroupVar: 'Variables',
outlineGroupMod: 'Modules',
outlineGroupOther: 'Others',
// Errors
loadFailed: 'Failed to load',
// Diff