[Full code at the end of message]向脚本传递方法及其前面的单词。例如,Array.fill或some_variable.new将传递整个字符串,而some_var.some_word.new将传递some_word.new。该插件将找到该方法的参数,并将它们附加到Vim
似乎我不理解一些重要的东西,也许是关于擦除(见鬼)。我有一个方法,我想用来自gen的值创建一个大小为n的数组 val arr = Array.fill(n)(gen)}testArray(10, util.Random.nextInt(10))scala: could not find implicit value forevidence parame