Notepad ++ Help:删除列?

1 notepad++

我有一个包含错误列表的.yml文件.这是它的样子:

    explosivearrow:
        spell-class: ".instant.ProjectileSpell"
        name: explosivearrow
        spell-icon: arrow
        description: Cause an explosion where an arrow lands
        cast-item: blaze_rod
        cooldown: 1
        projectile: arrow
        velocity: 0
        require-hit-entity: false
        cancel-damage: true
        remove-projectile: true
        max-distance: 30
        spells: [explode]
        cost:
            - mana 30
        str-cost: 30 mana
        str-cast-self: Shebang! Take that one!
Run Code Online (Sandbox Code Playgroud)

这是它需要的样子:

explosivearrow:
    spell-class: ".instant.ProjectileSpell"
    name: explosivearrow
    spell-icon: arrow
    description: Cause an explosion where an arrow lands
    cast-item: blaze_rod
    cooldown: 1
    projectile: arrow
    velocity: 0
    require-hit-entity: false
    cancel-damage: true
    remove-projectile: true
    max-distance: 30
    spells: [explode]
    cost:
        - mana 30
    str-cost: 30 mana
    str-cast-self: Shebang! Take that one!
Run Code Online (Sandbox Code Playgroud)

所以基本上我需要删除文件的frist列.我可以手动完成,但我真的不想从1519行退格4个空格......任何人都可以帮助我吗?这是我的第一个问题,所以如果我做错了,我会道歉.

Kyl*_*ton 5

将光标放在左侧explosivearrow,按住SHIFT + ALT然后按住向下箭头键.这会将光标扩展到多行,因此您可以一次操作每一行