假设我有一些文本(代码):
def text = ParamMenuable.this.linkText
def locPath: List[LocPath] = ParamMenuable.this.path
def parser = ParamMenuable.this.parser
def listToFrom(in: List[String]): Box[String] = in.headOption
还有一些快捷键:
arrow-left/right/up/down: move cursor to left/right/up/down for one char
ctrl + d: duplicate current line
ctrl + arrow-left/right/up/down: move cursor to left/right/up/down for one word
ctrl + y: delete current line
... all kinds of key shorts you usually used
目标文本是:
def text() = {
ParamMenuable.this.linkText
}
def locPath: List[LocPath] = ParamMenuable.this.path
def locPath22222: List[LocPath] = ParamMenuable.this.path
private def parser = {
return ParamMenuable.this.parser;
}
我的问题是:您至少应该按下多少键才能将源文本转换为目标?您可以选择合适的钥匙短裤来做得更好。