Skip to content

Monitor code action#378

Merged
worksofliam merged 6 commits intomainfrom
feature/monitor_code_action
May 18, 2025
Merged

Monitor code action#378
worksofliam merged 6 commits intomainfrom
feature/monitor_code_action

Conversation

@worksofliam
Copy link
Member

@worksofliam worksofliam commented May 6, 2025

Adds a brand new code action to surround selected code into a monitor block.

Additionally:

  • Extract to procedure uses new logic to ensure that the selected range can be extracted (getBodyRangeForRange)
  • Adds a getter in Declaration for backwards compatability for description (fix on main now)

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam added this to the Fix day 2 milestone May 6, 2025
@worksofliam worksofliam requested a review from sebjulliand May 6, 2025 14:10
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@SanjulaGanepola SanjulaGanepola self-requested a review May 15, 2025 15:30
Copy link
Member

@SanjulaGanepola SanjulaGanepola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just left one minor suggestion. Other than that, looks good. Nice feature.

Co-authored-by: Sanjula Ganepola <32170854+SanjulaGanepola@users.noreply.github.com>
@worksofliam worksofliam merged commit 75dd815 into main May 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants