denis-zhdanov / intellij-plugin-copy-on-steroids

Enhances IntelliJ-based IDEs 'Copy' action with ability to deliver rich text (RTF)
13 stars 6 forks source link

feature request: collapse leading spaces #4

Closed tobinibot closed 11 years ago

tobinibot commented 11 years ago

When copying nested code, it would be nice to remove the leading tabs so the code lines up with the "regular" text on the page.

IDEA Screenshot_3_26_13_4_26_PM

Resulting paste. Screenshot_3_26_13_4_29_PM

For that second chunk, all I did was just manually delete 1 tab from each line.

denis-zhdanov commented 11 years ago

Requested behavior is provided if 'strip indent spaces' setting is checked (checked by default). Available at the plugin v.2.2

tobinibot commented 11 years ago

Great, thanks!