ahuth / brackets-paste-and-indent

Paste code at the correct indentation level
29 stars 7 forks source link

pasting within an existing line should not reindent it #7

Open alvint opened 9 years ago

alvint commented 9 years ago

If I already have an existing line and I'm simply pasting text within it, the plugin should not reindent it (or at least this should be an option). The indent should happen only when pasting complete lines. Maybe a check like, "indent only if the current line contains just whitespace or if the paste buffer contains a newline character" would work.

Thanks!