1. Home
  2. Dx insights
  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

Lastest DX Insights
Dev Tip: Creating Namespaces in OutSystems
Agentic AI is a double-edged sword. Here’s how to avoid getting cut
Where agentic AI really moves the needle

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.