Log In  

Hi,

Alt+up & down allows to go to previous & next function, which is very useful, but sometimes functions are very long, or you have large tables that go lines and lines and you wish there was a way to browse them as easily. I suggest alt+Up & Down also stop on lines containing a comment that starts with exclamation mark (or any other character but this one is simple and makes sense imo) like this:

function _init()
 myHugeWeaponTable={
 ...
 --!1=default weapon
 ...
 --!2=laser
 ..
 --!3=rocket
 }
end

function thatBigOne()
 ...
 --!important
 ...
 camera()--!also stops here
 ...
end
P#92491 2021-05-24 10:16 ( Edited 2021-05-24 10:18)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-12 13:02:51 | 0.010s | Q:7