View Issue Details

IDProjectCategoryView StatusLast Update
00287942.x IDE SuggestionsCode EditorPublic2018-03-06 15:33
ReporterAlexander BorupAssigned To 
Status NewResolutionOpen 
Summary0028794: Suggestion: Code Editor: Auto-indent should be automatically applied to pasted code
DescriptionThe auto-indentation when writing code is extremely nice, but it should also affect code that is being pasted in so that it auto-indents itself correctly, as the indentation level of this is rarely correct after moving the code between blocks.
TagsNo tags attached.


Mike Dailly

2018-02-07 16:15

Developer   ~0057630

Disagree. If I'm cutting from formatted text (a call with parameters on multiple lines), I don't want to have to format it all again. I much prefer having text go in "as is", then tabbing into the correct spot.

Can be a preference, but should default to "off".

Alexander Borup

2018-03-06 15:33

Developer   ~0057983

The same indentation is being applied to all pasted lines, your multiline function call would look exactly the same before and after?? It's not pretty-printing it, it's indenting it