Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>loafNew to Visual Studio Code? Get it now.
loaf

loaf

TwinkleLee

|
175 installs
| (0) | Free
VSCode工作插件,让代码自动重新输入
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-plugin-loaf

VSCode摸鱼插件,在工作区自动重写代码。 本扩展基于swimming进行开发,做了扩展和优化。 重要说明:请先做好备份再开启重写,防止因异常中止丢失原代码

  1. 在状态栏中自动统计字数、行数
  2. 自动重写代码,并可设置写入速度等,完美演绎输入代码的界面 请勿在重写过程中自行做输入、撤回等操作,会导致内容异常。可使用停止命令重置文件内容。 可使用停止命令reload当前窗口,并重新获取原代码。 请勿在重写过程中切换到其他Tab,重写过程将异常中止,且无法找回原代码。

安装方法

在vscode的扩展栏,在应用商店中搜索“loaf”,点击"install"或“安装”

使用方法

选中代码后(不选中则重写全部),右击菜单中选择Code Rewriting即可,其他还包括暂停、继续、停止。

  • 开始快捷键: win默认:ctrl+alt+shift+s mac默认:alt+cmd+shift+s

  • 暂停快捷键: win默认:ctrl+alt+shift+p mac默认:alt+cmd+shift+p

  • 停止快捷键: win默认:ctrl+alt+x mac默认:alt+cmd+x

配置文件

  • vscodePluginLoaf.reWriteSpeed 可配置自动输入的时间间隔,默认为250(ms)
  • vscodePluginLoaf.reWriteSpeedDeviation 输入速度产生随机偏移,默认为100(ms)
  • vscodePluginLoaf.reWriteInfinite 重写完成后继续重复写入,默认为false

仓库地址

https://gitee.com/twinklelee/vscode-loaf

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft