Forum Discussion

obailey's avatar
obailey
New Contributor
5 years ago

Stacked and left aligned tags on Scenario Outline help

Hi I hope someone can help me.

 

My group like to use tags for our Cucumber scenarios. However, we like to stack tags for easier readability. Example:

 

@400

@JIRA_Name_1 @JIRA_Name_2 @JIRA_Name_3

Scenario Outline

 

It seems the stacked tags above a Scenario Outline will not completely align left. They will on a Scenario but not an outline. Example:

 

@400

    @JIRA_Name_1 @JIRA_Name_2 @JIRA_Name_3

Scenario Outline

 

My question(s) is this:

1. Is there a trick to getting stacked tags to completely align left? 

2. Is it recommended to instead keep all tags on the same line?

 

I have attached a picture with generic info showing the alignments of Scenario and Scenario Outline. I am using IntelliJ IDEA 2019.3, Gherkin plugin 193.5233.144, and Cucumber for Java 193.5233.57. I have tried Reformat Code (Code > Reformat Code / Ctrl + Alt + L) and that works for general formatting alignment with the exception of the tag/Scenario Outline issue.