SpecFlow.VS icon indicating copy to clipboard operation
SpecFlow.VS copied to clipboard

Inserting pipe symbol in Examples table cancels multi-cursor editing

Open ramiabughazaleh opened this issue 11 months ago • 0 comments

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

SpecFlow Section in app.config or content of specflow.json

N/A

Issue Description

Inserting a pipe symbol in the Examples table when multi-cursor editing is enabled, cancels multi-cursor editing.

Steps to Reproduce

  1. Create a feature file like this:
Feature: Feature1

Scenario Outline: Scenario Outline1
    Given a parameter <Parameter1>

    Examples:
        | Parameter1 |
        | parameter1 |
  1. Place the text cursor at the end of line 7, on the header of the Examples table
  2. Type Alt+Shift+Down arrow to enable multi-cursor editing
  3. Type Parameter2 |

Notice that after the pipe symbol is entered, multi-cursor editing is cancelled. I expected multi-cursor editing to still be enabled so I can continue to type in multiple lines.

Thank you.

Link to Repository Project

No response

ramiabughazaleh avatar Feb 27 '24 22:02 ramiabughazaleh