vscode-rufo:rufo的VS Code扩展(ruby格式化程序)

时间:2021-05-17 05:09:06
【文件属性】:
文件名称:vscode-rufo:rufo的VS Code扩展(ruby格式化程序)
文件大小:936KB
文件格式:ZIP
更新时间:2021-05-17 05:09:06
TypeScript vscode-rufo VS Code扩展,用于使用 gem格式化ruby文件。 特征 支持保存时格式化或使用命令格式化 要求 取决于 gem是否已安装并在PATH中可用。 $ gem install rufo 用法 使用标准的VS代码格式扩展API。 如果要一次性> Format Document ,可以在命令面板中找到> Format Document 。 开箱即用,Rufo将在“保存”上格式化Ruby,ERB和Gemfile文档。 要更改此设置,您可以覆盖editor.formatOnSave ,或者更确切地说仅针对Ruby语言: "[ruby]" : { // or [erb] / [gemfile] "editor.formatOnSave" : true } 问题 似乎不尊重.rufo首选项,不确定为什么。
【文件预览】:
vscode-rufo-master
----.rufo(21B)
----src()
--------rufo.ts(2KB)
--------test()
--------extension.ts(559B)
----.vscode()
--------launch.json(1KB)
--------settings.json(425B)
--------tasks.json(409B)
----formatting-example.gif(958KB)
----tsconfig.json(593B)
----LICENSE(1KB)
----test()
--------Gemfile(19B)
--------test_file.erb(12B)
----tslint.json(255B)
----README.md(913B)
----.vscodeignore(133B)
----vsc-extension-quickstart.md(3KB)
----.gitignore(24B)
----CHANGELOG.md(924B)
----package-lock.json(39KB)
----package.json(2KB)

网友评论