Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved autocompletion for edit.lua #509

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@JakobDev
Copy link
Contributor

@JakobDev JakobDev commented Jan 19, 2018

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.

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.
@dmarcuse
Copy link
Contributor

@dmarcuse dmarcuse commented Jan 19, 2018

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.

@thatcraniumguy
Copy link

@thatcraniumguy thatcraniumguy commented May 23, 2018

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.