用于将Sublime文本片段转换为JetBrains Live模板的工具,反之亦然
shortbus的Python项目详细描述
……图像::https://img.shields.io/pypi/v/shortbus.svg
:目标:https://pypi.python.org/pypi/shortbus
…图片::https://img.shields.io/travis/brmc/shortbus.svg
:目标:https://travis ci.org/brmc/shortbus
…图片::https://readthedocs.org/projects/shortbus/badge/?version=latest
:目标:https://shortbus.readthedocs.io/en/latest/?徽章=最新
:alt:文档状态
…图像::https://pyup.io/repos/github/brmc/shortbus/shield.svg
:目标:https://pyup.io/repos/github/brmc/shortbus/
:alt:updates
===
=
=
shortbus
==
用于将崇高文本片段转换为JetBrains实时模板的工具,反之亦然
*免费软件:MIT许可证
*文档:read the docs build有问题,因此对于那些在*nix环境中的用户,要查看文档,请执行以下操作:
…代码块::console
$git clone https://github.com/brmc/shortbus
$cd shortbus
$make docs
浏览器应该打开,其中包含文档
要求:
-
-python3.6+
-lxml
-pyyaml
quick start
-
install library:
代码块::控制台代码块::python
transpilers.import_from_yml('./my.yml')
.import_from_sublimetext('~/path/to/sublimetext/snippetdir/)
.import_from_jetbrains('~/.pycharm2016.3/config/livetemplates/djaneiro.xml')
.export_to_jetbrains('shortbus.xml')
.export_to_yml('shortbus.yml')
包括:./docs/ymlsyntax.rst
===
History
=
0.2.2(2018-1-4)
*为模板定义添加了名称前缀选项
<0.2.1(2018-1-4)
*错误修复:自定义模板定义没有正确遵守上下文定义
<0.2.0(2017-12-6)
----
*模板定义和transpiler已与自定义
上下文定义组合,以简化使用python以外语言的用户的yml
*已包含上下文选项名称的常量
0.1.0(2017-02-12)
----
*在PYPI上首次发布。
:目标:https://pypi.python.org/pypi/shortbus
…图片::https://img.shields.io/travis/brmc/shortbus.svg
:目标:https://travis ci.org/brmc/shortbus
…图片::https://readthedocs.org/projects/shortbus/badge/?version=latest
:目标:https://shortbus.readthedocs.io/en/latest/?徽章=最新
:alt:文档状态
…图像::https://pyup.io/repos/github/brmc/shortbus/shield.svg
:目标:https://pyup.io/repos/github/brmc/shortbus/
:alt:updates
===
=
=
shortbus
==
用于将崇高文本片段转换为JetBrains实时模板的工具,反之亦然
*免费软件:MIT许可证
*文档:read the docs build有问题,因此对于那些在*nix环境中的用户,要查看文档,请执行以下操作:
…代码块::console
$git clone https://github.com/brmc/shortbus
$cd shortbus
$make docs
浏览器应该打开,其中包含文档
要求:
-
-python3.6+
-lxml
-pyyaml
quick start
-
install library:
代码块::控制台代码块::python
transpilers.import_from_yml('./my.yml')
.import_from_sublimetext('~/path/to/sublimetext/snippetdir/)
.import_from_jetbrains('~/.pycharm2016.3/config/livetemplates/djaneiro.xml')
.export_to_jetbrains('shortbus.xml')
.export_to_yml('shortbus.yml')
包括:./docs/ymlsyntax.rst
===
History
=
0.2.2(2018-1-4)
*为模板定义添加了名称前缀选项
<0.2.1(2018-1-4)
*错误修复:自定义模板定义没有正确遵守上下文定义
<0.2.0(2017-12-6)
----
*模板定义和transpiler已与自定义
上下文定义组合,以简化使用python以外语言的用户的yml
*已包含上下文选项名称的常量
0.1.0(2017-02-12)
----
*在PYPI上首次发布。