Skip to content

Commit b25f0c6

Browse files
committed
chore: bump version to 0.1.6 with Excel to CSV conversion feature
- Added complete Excel to CSV conversion functionality - Enhanced CSV writing architecture with unified base class - Fixed Chinese character encoding issues with UTF-8 BOM - Improved code modularity and reduced duplication - Updated comprehensive test coverage
1 parent 3d2a1c5 commit b25f0c6

23 files changed

Lines changed: 791 additions & 327 deletions

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66

77
## [Unreleased]
88

9+
## [0.1.6] - 2025-07-09
10+
11+
### Added
12+
- **Excel to CSV Conversion**: Complete implementation of Excel files to CSV format conversion
13+
- Support for multiple worksheets with configurable output modes (separate files or combined)
14+
- Configurable CSV encoding (UTF-8 or GBK for Chinese Excel compatibility)
15+
- Configurable CSV delimiter (comma, semicolon, or tab)
16+
- Optional metadata comments in CSV output
17+
- Command palette and context menu integration for Excel to CSV conversion
18+
19+
### Improved
20+
- Unified CSV writing architecture with CsvWriterBase inheritance pattern
21+
- Code modularity improvements reducing duplication across converters
22+
- Enhanced Chinese character encoding support with UTF-8 BOM for Excel compatibility
23+
- Comprehensive English comments throughout codebase for international development
24+
25+
### Fixed
26+
- Chinese character encoding issues in CSV output files
27+
- Code architecture improvements with better inheritance patterns
28+
- Enhanced test coverage for all conversion features
29+
930
## [0.1.5] - 2025-07-09
1031

1132
### Added

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ A powerful VS Code extension for converting various document formats to Markdown
99
### Supported Document Types
1010
- **Word Documents** (.docx, .doc) → Markdown
1111
- **Excel Spreadsheets** (.xlsx, .xls, .csv) → Markdown Tables
12+
- **Excel Spreadsheets** (.xlsx, .xls) → CSV Files
1213
- **PDF Documents** (.pdf) → Text Files
1314
- **PowerPoint Presentations** (.pptx, .ppt) → Markdown
1415

@@ -62,6 +63,7 @@ npm run compile
6263
### Available Commands
6364
- `Convert Word to Markdown` - Convert Word documents to Markdown
6465
- `Convert Excel to Markdown` - Convert Excel files to Markdown tables
66+
- `Convert Excel to CSV` - Convert Excel files to CSV format
6567
- `Convert PDF to Text` - Convert PDF to text files
6668
- `Convert PowerPoint to Markdown` - Convert PowerPoint presentations to Markdown
6769
- `Extract Word Tables to CSV` - Extract tables from Word documents to CSV format
@@ -79,7 +81,12 @@ npm run compile
7981
- Smart timeout handling (prevents .doc file freezing)
8082

8183
### Excel Spreadsheet Conversion
82-
- Convert to Markdown table format
84+
- **To Markdown**: Convert to Markdown table format
85+
- **To CSV**: Convert to CSV format with configurable options
86+
- Choose separate files (one per worksheet) or combined file
87+
- Configurable encoding (UTF-8 or GBK for Chinese Excel compatibility)
88+
- Configurable delimiter (comma, semicolon, or tab)
89+
- Optional metadata comments
8390
- Preserve cell data types
8491
- Handle multiple worksheets
8592
- Support .xlsx, .xls, .csv formats

README.zh-cn.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### 支持的文档类型
1010
- **Word文档** (.docx, .doc) → Markdown
1111
- **Excel表格** (.xlsx, .xls, .csv) → Markdown表格
12+
- **Excel表格** (.xlsx, .xls) → CSV文件
1213
- **PDF文档** (.pdf) → 文本文件
1314
- **PowerPoint演示文稿** (.pptx, .ppt) → Markdown
1415

@@ -58,6 +59,7 @@ npm run compile
5859
### 可用命令
5960
- `将Word转换为Markdown` - 转换Word文档为Markdown
6061
- `将Excel转换为Markdown` - 转换Excel文件为Markdown表格
62+
- `将Excel转换为CSV` - 转换Excel文件为CSV格式
6163
- `将PDF转换为文本` - 转换PDF为文本文件
6264
- `将PowerPoint转换为Markdown` - 转换PowerPoint演示文稿为Markdown
6365
- `提取Word表格为CSV` - 从Word文档提取表格为CSV格式
@@ -75,7 +77,12 @@ npm run compile
7577
- 智能超时处理(避免.doc文件卡死)
7678

7779
### Excel表格转换
78-
- 转换为Markdown表格格式
80+
- **转换为Markdown**: 转换为Markdown表格格式
81+
- **转换为CSV**: 转换为CSV格式,支持多种配置选项
82+
- 选择分离文件(每个工作表一个文件)或合并文件
83+
- 可配置编码(UTF-8或GBK,兼容中文Excel)
84+
- 可配置分隔符(逗号、分号或制表符)
85+
- 可选元数据注释
7986
- 保留单元格数据类型
8087
- 处理多工作表
8188
- 支持 .xlsx, .xls, .csv 格式

package-lock.json

Lines changed: 33 additions & 200 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)