场景大纲中是否有针对自动空间和自动格式示例部分的 Visual Studio 代码扩展?
我想要一个来自 Visual Studio 代码的扩展,其示例部分下的自动格式内容如下。
这是用于行为框架。 下面的代码描述了场景轮廓。
Given I put <thing> in a blender,
when I switch the blender on
then it should transform into <other thing>
Examples: Amphibians
| thing | other thing |
| Red Tree Frog | mush |
我有一长串的论点,处理起来非常乏味。
注意:我目前使用这些扩展
- Cucumber (Gherkin) 完全支持
- Python
我尝试过的: 我尝试了许多代码格式化程序扩展,但都不支持此要求。
提前致谢
I want to have an extension from visual studio code which auto format content under Examples section as below.
This is for behave framework.
Below code depicts scenario outline.
Given I put <thing> in a blender,
when I switch the blender on
then it should transform into <other thing>
Examples: Amphibians
| thing | other thing |
| Red Tree Frog | mush |
I have a long list of arguments and it is very tedious to work with that.
Note: I currently use these extensions
- Cucumber (Gherkin) Full Support
- Python
What I tried:
I tried numerous code formatter extensions none of which support this requirement.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我已经为 Behave 文件扩展 Behave 编写了第一个版本的表格式化程序
I have written a first version of a table formatter for Behave files
Extension Behave
Visual Studio 代码的格式文档选项可实现预期目的。
The Format document option by the Visual studio code does what is intended.