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', // 样式