Created by: MichelBillaud
Description
The IDE auto-formatting is confused by method references. Eg
Predicate<Foo> p = Foo::check;
turns into
:: Predicate<Foo> p = Foocheck;
Steps to reproduce
- Start a new sketch with
import java.util.function.Predicate;
class Foo {
boolean check() {
return true;
};
}
void setup() {
Predicate<Foo> p = Foo::check;
}
Ctrl+T
Environment
- Processing version: 40b1
- Operating System and OS version: Linux Debian 10.10
- Other information:
Created by: MichelBillaud
Description
The IDE auto-formatting is confused by method references. Eg
turns into
Steps to reproduce
Ctrl+TEnvironment