teal-language-server icon indicating copy to clipboard operation
teal-language-server copied to clipboard

Method Chaining doesn't autocomplete

Open FourierTransformer opened this issue 1 year ago • 0 comments

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)

FourierTransformer avatar Nov 30 '24 01:11 FourierTransformer