mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
don't throw exceptions when completing in the RHS of >>, complete instead
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
public class SomeClass {
|
||||
Object myField1;
|
||||
Object myField2;
|
||||
|
||||
void foo(int param) {
|
||||
int a = param >> my<caret>
|
||||
}
|
||||
}
|
||||
@@ -645,5 +645,10 @@ public class NormalCompletionTest extends LightCompletionTestCase {
|
||||
|
||||
public void testPrimitiveMethodParameter() throws Throwable { doTest(); }
|
||||
|
||||
public void testRightShift() throws Throwable {
|
||||
configureByFile("/codeInsight/completion/normal/" + getTestName(false) + ".java");
|
||||
assertStringItems("myField1", "myField2");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user