Skip to content

Method Chaining doesn't autocomplete #28

Open
@FourierTransformer

Description

When using argparse or ltreesitter, you can generally do things like:

child:child_by_field_name("base"):source()

but the language server will not show any completions when typing source.

It should be able to be resolved by updating type_information_for_tokens in document.tl. We may need to update the split_by_symbols in misc_handlers.tl to split better. (and maybe to provide more than a list of tokens? might need to look into this a bit)

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions