QC2168 / vite-plugin-vitepress-auto-sidebar

The vite plugin that automatically generates sidebar data by scanning directories, based on vitepress
MIT License
96 stars 12 forks source link

建议: 反向添加 #22

Closed fr1g closed 2 months ago

fr1g commented 6 months ago

可不可以添加可选的工作模式, 在服务器启动时检查config然后依据它在sidebar指向的文件目录下创建文件? 这将在一定程度上简化文件创建流程 但是不要覆盖现有文件, 改名可选不删除对应的旧文件(留给用户整理文件时候自己删除)

QC2168 commented 5 months ago

这个插件是用于生成侧边栏数据的,生成文件这个场景不多吧😶

fr1g commented 5 months ago

如果能反过来添加文件那甚至只需要改配置文件,不再需要切换到文件资源管理器/vscode侧边栏来新建、改名… 有的时候就是觉得扣键盘比手点来得快Отправлено с iPhone29 апр. 2024 г., в 20:32, _island @.***> написал(а): 这个插件是用于生成侧边栏数据的,生成文件这个场景不多吧😶

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

QC2168 commented 5 months ago

但是创建的内容是空的,也没有什么帮助?

fr1g commented 5 months ago

难道还想接入ai帮写吗,肯定是空的啊Отправлено с iPhone30 апр. 2024 г., в 19:40, _island @.***> написал(а): 但是创建的内容是空的,也没有什么帮助?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

QC2168 commented 2 months ago

考虑到应用场景较少,暂不计划添加该功能