Dev Tip: Block selection in Javascript

How to edit multiple lines of Javascript at once.

I have copied this snippet from a javascript online forum and pasted it in OutSystems.

But now I want to turn these variables into input parameters.

You can see the input parameters are still not being used, and it’s because we’re missing the $parameters keyword. We can add it line by line, but that’s kinda boring.

We can use ALT-SHIFT-Select to make a block selection, and add the keyword to all lines at once.

Leonardo Fernandes, Head of Delivery + MVP, shows you how to block selection in Javascript.

Sign up for our newsletter and stay tuned for more Dev Tips.

Team PhoenixDX