how to show line number in GAMS IDE

questions about GAMS' tools
Post Reply
yanzhiping
User
User
Posts: 85
Joined: 1 year ago

how to show line number in GAMS IDE

Post by yanzhiping » 1 year ago

Excuse me,

It seems hard to read the code in GAMS IDE without the line number, especially when you are debugging the code.
Is there anyway to show the number somewhere in the the IDE just like Matlab or Python IDE are doing?

Thanks,
Ping

User avatar
bussieck
Moderator
Moderator
Posts: 198
Joined: 2 years ago

Re: how to show line number in GAMS IDE

Post by bussieck » 1 year ago

Ping,

The IDE shows the line number (and column) where the cursor is located in the bottom left of the main Windows:
Capture.PNG
Capture.PNG (12.45 KiB) Viewed 1189 times
You can also use Ctrl-g, enter the line number and the IDE will place the cursor on the line specified.

-Michael

yanzhiping
User
User
Posts: 85
Joined: 1 year ago

Re: how to show line number in GAMS IDE

Post by yanzhiping » 1 year ago

thanks! It is just not so obvious.
Is there any way to show it on the left hand side at the beginning of each line just as Matlab or Pycharm do?

Post Reply