如何在自身上复制行?

时间:2019-03-14 06:31:27

标签: ide jetbrains-ide

在JetBrains编辑器中,在自身上复制一行而没有换行符的快捷方式(或技巧)是什么(不像 Ctrl + D )。换句话说,我想转这个:

 constructor(obj: Schema$Car) {
        this.brand =
        this.id =
        this.model =
        this.photoBack =
        this.photoFront =
        this.photoInteriorBack =
        this.photoInteriorFront =
        this.photoSide =
        this.seatCount =
        this.year =
    }

对此:

constructor(obj: Schema$Car) {
    this.brand = obj.brand 
    this.id = obj.id
    this.model = obj.model
    this.photoBack = obj.photoBack
    this.photoFront = obj.photoFront
    this.photoInteriorBack = obj.photoInteriorFront
    this.photoInteriorFront = obj.photoInteriorFront
    this.photoSide = obj.photoSide
    this.seatCount = obj.seatCount
    this.year = obj.year
}

0 个答案:

没有答案