Parameter names from current file get higher priority + number of occurrences matters

This commit is contained in:
Valentin Kipyatkov
2015-06-18 22:03:15 +03:00
parent c6fd04dcac
commit 84ba634c3e
4 changed files with 50 additions and 17 deletions
@@ -0,0 +1,16 @@
class MyFileA
class MyFileB
class MyFileC
fun f(myFileB: MyFileB, myFileX: Int, myFileY: Int)
fun g(myFileY: Int)
fun h(myFileX: String)
fun foo(myFi<caret>)
// ORDER: myFileY
// ORDER: myFileB
// ORDER: myFileX
// ORDER: myFileX
// ORDER: myFileA
// ORDER: myFileC