Skip to content

Autocomplete stops working when accessing table contents of love.filesystem.getInfo #20

Open

Description

@HugoBDesigner

This bug seems to be specifically and uniquely related to the love.filesystem.getInfo call. Unlike other LÖVE calls, this one returns a table with named fields inside of it. As soon as any field is accessed in the results (not necessarily an existing field, but just a field from the results), the entire autocomplete suite (not just love-atom) stops responding after the first character is typed.

The same issue does not occur if you call any other function that returns a table. I've also tested writing my own function that returned a table with named fields, but it works fine. Accessing these fields using brackets does not solve the issue. Disabling the love-atom package does solve the issue.

2021-02-13_18-41-17.mp4

Activity

  1. rm-code commented on Feb 14, 2021

    @rm-code
    Owner

    @HugoBDesigner Thanks for the report, unfortunately I don't have the time to look at this properly. On a quick test of mine I think I also could reproduce it with love.graphics.getSupported which might point to a deeper problems with functions that return tables.

    It might be possible that the autocomplete-lua package got some update that broke love-atom, but I'd have to investigate. I haven't been using Atom for a couple of years and would really appreciate if somebody would take over this package. Sorry.

  2. rm-code commented on Feb 14, 2021

    @rm-code
    Owner

    Maybe @pablomayobre or @JanWerder could help?

  3. JanWerder commented on Feb 15, 2021

    @JanWerder
    Contributor

    I'm sorry, but I haven't used Atom in ages, either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions