SpecFlowOSS / SpecFlow.VS

The next version of the Visual Studio extension for SpecFlow
MIT License
39 stars 12 forks source link

Inserting pipe symbol in Examples table cancels multi-cursor editing #156

Open ramiabughazaleh opened 7 months ago

ramiabughazaleh commented 7 months ago

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

Examples:
    | Parameter1 |
    | parameter1 |

2. Place the text cursor at the end of line 7, on the header of the Examples table
3. Type `Alt+Shift+Down arrow` to enable multi-cursor editing
4. 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_