Sublime Forum

Sublime Text 4 - Autocomplete Function Arguments

#1

Hello,

Really enjoying Sublime Text 4’s new Context-Aware Auto Complete abilities.

It’s especially helpful when, for example, Sublime autocompletes with a function defined in a different file.

Once you’ve selected such a function via autocomplete, is it possible to configure Sublime Text 4 to autocomplete all the parameters that the given function accepts?

-David

0 Likes

#2

Sublime doesn’t have that level of knowledge of the code in the files; it knows when it lexes the file for indexing and syntax highlighting which things are functions, but it doesn’t have any language specific logic to know or remember the names and types of arguments.

Something like LSP might be what you’re looking for. I don’t think it will autocomplete in the arguments, but it should provide you guidance on the signature while you’re entering them so you know what goes where.

0 Likes