← All features

Snippets

Type a short prefix, press Tab, and fill in the blanks. VS Code and TextMate style templates, bundled for 35 languages.

The Insert Snippet picker listing Java snippets such as main, class, record, enum and method

Boilerplate takes a few keystrokes: type a short trigger such as fori or main, press Tab, and fill in the blanks the snippet leaves for you.

Use a snippet

Expands only where you mean it

What ships

Snippets ship for 35 languages, plus a set for every file. They use each language’s idioms: shell snippets write [ ] tests under sh or dash and [[ ]] under bash, and the Java set covers declarations named after the file, loggers, streams, text blocks and JUnit 5 tests.

Your own snippets

See the Snippets guide.