From 7689dd512ddaad3118d7cedeb8059d52a4d2dc45 Mon Sep 17 00:00:00 2001 From: xiongxiao Date: Sat, 14 Mar 2026 00:53:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=9B=B4=E5=A4=9A?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E6=96=87=E4=BB=B6=E6=89=A9=E5=B1=95=E5=90=8D?= =?UTF-8?q?=E4=BB=A5=E5=A2=9E=E5=BC=BA=E6=96=87=E4=BB=B6=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/project-search/file-list-content.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/project/project-search/file-list-content.ts b/src/project/project-search/file-list-content.ts index 7f23d83..c17bf78 100644 --- a/src/project/project-search/file-list-content.ts +++ b/src/project/project-search/file-list-content.ts @@ -5,6 +5,10 @@ import path from 'node:path'; const TEXT_FILE_EXTENSIONS = [ // 前端/脚本 '.js', '.mjs', '.cjs', '.ts', '.mts', '.cts', '.jsx', '.tsx', '.vue', '.svelte', '.astro', + // 文本网页 + '.html', '.htm', '.xhtml', '.xml', '.svg', '.styl', + // 配置文件 + '.json', '.yaml', '.yml', '.toml', '.ini', '.env', '.properties', '.conf', '.config', // node 相关 '.npmrc', '.yarnrc', '.babelrc', '.eslintrc', '.prettierrc', '.stylelintrc', // 样式