drweb86 / Gherkin-Beautifier-VS-Code-Plugin

Gherkin Beautifier VS-Code Plugin
MIT License
0 stars 0 forks source link

No Setting to Specify @tag Indents #5

Closed IronWalnut closed 4 years ago

IronWalnut commented 4 years ago

Hi, I love this plugin and for the most part it works great!

Is there a setting to specify how many indents should go before tags? I've set up custom indents for a few of the keywords, but can't find any way to modify the setting for tags.

Current Settings:

{
    "python.pythonPath": "venv/bin/python3.6",
    "conf.view.identsBefore.Scenario": 4,
    "conf.view.identsBefore.Background": 4,
    "conf.view.identsBefore.Given": 8,
    "conf.view.identsBefore.When": 8,
    "conf.view.identsBefore.Then": 8,
    "conf.view.identsBefore.ScenarioOutline": 4,
    "conf.view.identsBefore.ScenarioTemplate": 4,
    "conf.view.identsBefore.Table": 12,
}

Result:

Feature: Some Feature
        @skip
    Scenario: Some Scenario
IronWalnut commented 4 years ago

Update: Looks like adding "conf.view.identsBefore.At": 4 gave me what I'm looking for.

Realized the "At" setting meant "@" and not another type of step. I was looking for "Tag"