-
-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
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:
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed