VexIQ Code Compacting in Vexcode IQ

When you convert a block program to a text one, the definitions of the sensors and motors are compacted until you click on it, I am looking to do this, however, the way I do it in VSCode does not work. Is the user compacting code like this possible, if so how do you do it?

Blaziumm and Team 21037A

I am an absolute idiot and forgot to add the photo, hope this helps!

Screenshot 2022-10-28 2.50.59 PM