oncework / codeexpander

A cross-platform cloud synchronization (Github/Gitee) development efficiency tool that integrates input enhancement and code snippet management specifically for developers. 专为开发者开发的一个集输入增强、代码片段管理为一体跨平台云同步(Github/Gitee)的开发效率工具。
https://codeexpander.com
449 stars 30 forks source link

希望增加一个一键格式化代码 #62

Closed seth-shi closed 3 years ago

seth-shi commented 3 years ago

增加一个一键格式化代码

xudaolong commented 3 years ago

@seth-shi 这个不同语言 格式化的逻辑不一样 emm

xudaolong commented 3 years ago

@seth-shi 你常用是什么语言 我可以特殊处理下

seth-shi commented 3 years ago

我觉得应该有现成的方案, 你看一下 https://prettier.io/ 我想要的可能是压缩之后的代码, 帮我处理好

  1. 自动换行
  2. 自动缩进
  3. 左右大括号可以选择是否换行

还有另一个笔记的需求就是, 应该是 github 和 gitee 同时登录, 而不是只有一个平台(一个主用, 另一个备份)

thx