ComputerCraft icon indicating copy to clipboard operation
ComputerCraft copied to clipboard

Improved autocompletion for edit.lua

Open JakobDev opened this issue 8 years ago • 2 comments

At the Moment, edit.lua will only complete global functions. But must Programs have local functions. With this PR, edit.lua will search the code of your file and add all functions to autocompletion.

JakobDev avatar Jan 19 '18 15:01 JakobDev

This won't work for anything involving scope or tables, and the pattern will also match things like newlines which could lead to all sorts of strange things, especially with anonymous functions.

dmarcuse avatar Jan 19 '18 15:01 dmarcuse

Can one of the admins verify this patch?

thatcraniumguy avatar May 23 '18 00:05 thatcraniumguy