Skip to content

Dedent content before pasting it to current indentation #29

@ivan-lednev

Description

@ivan-lednev

Suppose I have some code:

class Foo {
    bar() {
        doStuff()
    }
}

When I copy some fragment from it, say:

bar() {
    doStuff()
}

I'd like the content to be dedented. So instead of this:

- list
    - sublist
      ```
          bar() {
              doStuff()
          }
      ```

I'd like to see this:

- list
    - sublist
      ```
      bar() {
          doStuff()
      }
      ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions