.net core Cucumber自动完成始终导航到第一个匹配步骤定义

.net core Cucumber自动完成始终导航到第一个匹配步骤定义,.net-core,visual-studio-code,cucumber,xunit,.net Core,Visual Studio Code,Cucumber,Xunit,我的功能文件X中有这个 Feature: X Scenario: X End point returns X response Given the microservice is running When I connect to the '/api/v1/settings' endpoint Then it should respond with HTTP status 200 And it should contain

我的功能文件X中有这个

Feature: X

    Scenario: X End point returns X response
        Given the microservice is running
        When I connect to the '/api/v1/settings' endpoint
        Then it should respond with HTTP status 200
        And it should contains a response having application name as 'httpapi'
这在特征文件Y中

Feature: Y

Scenario: Y point returns Y response
    Given the microservice is running
    When I connect to the '/Error' endpoint
    Then it should respond with HTTP status 500
    And it should respond with eid
每个步骤都有自己的步骤定义文件,如
X.cs
Y.cs

当我尝试从功能文件Y导航到“给定microservice正在运行”的步骤定义时,它会导航到“X.cs”上的步骤定义,因为这是顺序中的第一个