mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
Add "try" live postfix template
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
somevalue.try<caret>
|
||||
int i=0;
|
||||
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
try {
|
||||
somevalue<caret>
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
int i=0;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class Foo.try<caret> {
|
||||
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public class Foo.try <caret> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
somevalue.try<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
try {
|
||||
somevalue<caret>
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
Object o = new Object().try<caret>
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public class Foo {
|
||||
void m() {
|
||||
try {
|
||||
Object o = new Object()<caret>
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user