基本上我希望IDE在自动完成时强制执行命名参数语法
https://docs.scala-lang.org/style/method-invocation.html
例如,给定的一个类
class MyClass {
def myMethod( param1 : String, param2 : String)
}
我希望IDE将占位符放在" param1"和" param2"像这样:
val myObj = new MyClass()
myObj.myMethod( param1 = "value of param 1", param2 = "value of param2")
AND NOT(这很糟糕)
myObj.myMethod("calling the method without explicitly naming param1" , "calling the method without explicitly naming param2")