Completion

Tombi provides code completion for TOML. The most simple form is to provide the type that can be input as TOML grammar. All of them have the description 🦅 Type Hint.

Type Hint

If a JSON Schema is applied to the editing file, more specific candidates are provided.

Type Hint

Magic Trigger

Tombi provides a magic trigger to complete rhythmically. TOML uses doted keys or inline tables for nested structures, but Tombi controls the form of completion by selecting triggers with . and =.

💡Tip

If you prefer inline tables, select the trigger =, and completion will prioritize inline tables

inline = { table = true }

If you prefer dotted keys, select the trigger .

dotted.keys = true

Dot Trigger Completion

TypeTriggerSelectCompletion
Booleankey.█truekey = true█
Integerkey.█42key = ${█:42}
Floatkey.█3.14key = ${█:3.14}
Stringkey.█""key = "█"
Arraykey.█[]key = [█]
Tableserver.█completionserver.completion█

Equal Trigger Completion

TypeTriggerSelectCompletion
Booleankey=█truekey = true█
Integerkey=█42key = ${█:42}
Floatkey=█3.14key = ${█:3.14}
Stringkey=█""key = "█"
Arraykey=█[]key = [█]
Tableserver=█completionserver = { completion█ }