1. Home
  2. Dx dev digest
  3. Dev tip block selection in javascript

Dev Tip: Block selection in Javascript

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

[custom_like]
Lastest DX Insights
PhoenixDX now has even more OutSystems MVPs!
Convert local data type to data structure
Dev Tip: How to Gain Exposure to OutSystems AI Agents With Purpose

Need a digital solution tailored to your needs?

Our team is here to help. Complete the form below and we’ll be in touch shortly.