Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Paste with formatting #1825

@jonmagic

Description

@jonmagic

When I paste a snippet of code that has indentation I want my editor to be smart enough to correctly indent things for me.

Example 1

Steps to reproduce:

  1. Go to https://github.com/atom/atom/blob/master/src/clipboard.coffee
  2. Copy some indented text but on the first line just go to the beginning of the text, not the beginning of the line
  3. Paste the text into Atom at an indentation level different than what it should be indented at

Example 2

When you go across windows it loses the indentation magic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions