constructor completion: insert the chosen constructor and position the caret accordingly (IDEA-CR-14717)

This commit is contained in:
peter
2016-10-19 18:53:38 +02:00
parent 87a28d8d6e
commit 5b863d7817
5 changed files with 28 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
class Foo{
Foo(int arg) {
}
Foo(boolean arg) {
}
Foo() {
}
Foo(boolean arg) {
}
{
Foo f = new F<caret>

View File

@@ -0,0 +1,12 @@
class Foo{
Foo(int arg) {
}
Foo() {
}
Foo(boolean arg) {
}
{
Foo f = new Foo();<caret>
}
}