Keyboard Shortcuts for commonly used strings

Strings, like println!(" {} ",); are arduous and boring to type repeatedly.


suggests sout as a keyboard shortcut, but I can't get that to work for rust in IDEA on a Debian box. Am I missing some preparatory installations, or configurations?

For IntelliJ Rust, that's just p.

1 Like

I have Intellij Rust installed in IDEA, but "p." produces a long list of available continuations, like, dbg, lambda, let...;

You don‘t need the dot, type p and then hit tab key.