Page 1 of 1

The fastest way to hide many lines

Posted: Wed Dec 01, 2021 8:45 pm
by Foodi14
Hi

Hiding many lines takes a lot of time, is there a shortcut for that?

Image

Re: The fastest way to hide many lines

Posted: Wed Dec 01, 2021 10:34 pm
by achristensen
In Studio you can highlight the area that you want to comment out and do (on my mac) CMD + Shift + 8 (aka CMD + *). If this doesn't work go to Edit > Advanced > Toggle Comment Line(s).
-adam

Re: The fastest way to hide many lines

Posted: Thu Dec 02, 2021 6:54 am
by bussieck
See also $on/offtext (https://www.gams.com/latest/docs/UG_Dol ... _21_option) to comment blocks.

-Michael