lin-little-plugin
这是一个vscode 插件,提供一些小功能。
This is a 'vscode' plugin that provides some small features.
百度翻译 Baidu Translation
翻译英文 translate
- 快捷键
ctrl+alt+1
- 将翻译结果转成驼峰显示
- 例如:
加载页逻辑 -> loadPageLogic
翻译中文 translate
- 快捷键
ctrl+alt+2
- 支持以下格式
LOAD_TIME_CanSearch 翻译结果为 加载时间可以搜索
![markdownTable](https://github.com/1123972359/lin-little-plugin/raw/HEAD/gif/translate.gif)
翻译配置setting.json
需要注册百度翻译
"lin-little-plugin.translate-store-appid": "__APPID__",
"lin-little-plugin.translate-store-secret": "__SECRET__",
转换大小写 Convert Case
lin-little-plugin.transformUpper
![markdownTable](https://github.com/1123972359/lin-little-plugin/raw/HEAD/gif/transformUpper.gif)
Markdown 代码片段 Markdown code snippet
命令: markdown
table 指定行和列的数量即可生成对应的代码片段
![markdownTable](https://github.com/1123972359/lin-little-plugin/raw/HEAD/gif/markdownTable.gif)
转换反引号backtick
lin-little-plugin.backtick
![markdownTable](https://github.com/1123972359/lin-little-plugin/raw/HEAD/gif/backtick.gif)
创建默认导出文件index.ts exportIndex
lin-little-plugin.exportIndex
![markdownTable](https://github.com/1123972359/lin-little-plugin/raw/HEAD/gif/exportIndex.gif)
| |