al-code-outline icon indicating copy to clipboard operation
al-code-outline copied to clipboard

Codeaction "Add multiple fields" does not respect cursor for insertion

Open zabcik opened this issue 1 year ago • 0 comments

1. Describe the bug

When using codeaction "Add multiple fields" the action does not respect cursor possition for insertion.

AZAL_CodeactionAddMultipleFields

2. To Reproduce

  1. Open the page or page extension where you want to add fields.
  2. Place the cursor at the desired position (before the first field, between fields, or after the last field) and observe where the code action performs the insertion.
  3. Verify the insertion behavior at different positions.

3. Expected behavior

New field is inserted to cursor position.

4. Actual behavior

New field is inserted to randomly position.

5. Versions:

  • AL Language: v14.0.1070882 (pre-release)
  • Visual Studio Code: 1.91.0
  • AZ AL Dev Tools/AL Code Outline: 13.67.0

zabcik avatar Jul 11 '24 09:07 zabcik