mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[mod-command] AddExceptionToCatchFix: ModCommandAction; injection test
GitOrigin-RevId: 9a3ab90be0420b79f913c96b0d0101e538e6fca6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ff7bded456
commit
92839cf245
+16
@@ -0,0 +1,16 @@
|
||||
// "Add 'catch' clause(s)" "true-preview"
|
||||
import org.intellij.lang.annotations.Language;
|
||||
|
||||
class X {
|
||||
@Language("JAVA") String java = """
|
||||
class Cls {
|
||||
{
|
||||
try {
|
||||
} catch (Exception e) {
|
||||
<selection><caret>throw new RuntimeException(e);</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
""";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user