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

Feature: Better autocomplete #127

Merged
merged 3 commits into from Sep 26, 2022
Merged

Feature: Better autocomplete #127

merged 3 commits into from Sep 26, 2022

Conversation

lionkor
Copy link
Member

@lionkor lionkor commented Sep 25, 2022

This feature, built by @20dka and me, allows the console's autocomplete to complete table members.

For example, typing:

lua> Util.

and then pressing TAB, will suggest (as the first completion):

lua> Util.JsonDecode(

and further TAB presses will cycle through JsonDiff(, JsonDecode(, and so on.
This works for all tables, including user-defined tables like any tables from plugins, and any other symbols (like functions, globals, ...).

This is a powerful addition to the "attach and debug" workflow.

@lionkor lionkor self-assigned this Sep 25, 2022
@lionkor lionkor added the feature New feature or request label Sep 25, 2022
@lionkor lionkor requested a review from 20dka September 25, 2022 22:24
it was testing via memory-equality, which is not valid.
@lionkor lionkor merged commit 501fdda into rc-v3.1.0 Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants