mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11:28 +07:00
IJP-1077 Inlay hints: new settings UI
snippets & descriptions updated GitOrigin-RevId: 111699b4da89302ca27e8ea67de9b9d043b8d4c2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6db06ce969
commit
eb54bfca5b
@@ -1,10 +1,16 @@
|
||||
a.printSomething(switch (i) {
|
||||
case 1:
|
||||
yield "Apples";
|
||||
case 2:
|
||||
yield "Bananas";
|
||||
default:
|
||||
yield "Apples and bananas";
|
||||
});
|
||||
class Test {
|
||||
public static final int i = new Random().nextInt(3);
|
||||
|
||||
a.printSomething(Math.random() > 0.5 ? "Apples" : "Bananas");
|
||||
public static void main(String[] args) {
|
||||
System.out.println(switch (i) {
|
||||
case 1:
|
||||
yield "Apples";
|
||||
case 2:
|
||||
yield "Bananas";
|
||||
default:
|
||||
yield "Apples and bananas";
|
||||
});
|
||||
|
||||
System.out.println(Math.random() > 0.5 ? "Apples" : "Bananas");
|
||||
}
|
||||
}
|
||||
@@ -1 +1,15 @@
|
||||
new Duckling("Franklin", Color.YELLOW)
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
new Duckling("Franklin", Color.YELLOW);
|
||||
}
|
||||
}
|
||||
|
||||
class Duckling {
|
||||
String name;
|
||||
Color color;
|
||||
|
||||
public Duckling(String name, Color color) {
|
||||
this.name = name;
|
||||
this.color = color;
|
||||
}
|
||||
}
|
||||
@@ -1169,7 +1169,7 @@ set.language.level.to.0=Set language level to {0}
|
||||
settings.completion.ml.java.display.name=Java
|
||||
settings.inlay.java.annotations=Annotations
|
||||
settings.inlay.java.builder.like.methods=Builder-like methods
|
||||
settings.inlay.java.complex.expressions.binary.functional.array.access.and.other=Complex expressions: binary, functional, array access and other
|
||||
settings.inlay.java.complex.expressions.binary.functional.array.access.and.other=Complex expressions as arguments
|
||||
settings.inlay.java.enum.constants=Enum constants
|
||||
settings.inlay.java.external.annotations=External annotations
|
||||
settings.inlay.java.inferred.annotations=Inferred annotations
|
||||
|
||||
Reference in New Issue
Block a user