lifted-studios / AutoCopyright

Plugin for Sublime Text 2 to automate adding/updating the appropriate copyright text at the top of the file.
MIT License
13 stars 5 forks source link

Does not trim whitespace from the ends of lines it inserts #15

Closed lee-dohm closed 11 years ago

lee-dohm commented 11 years ago

At least in the case of Ruby and Python, the single-line comment settings includes a space in the comment string. In the case of creating a copyright comment block, AutoCopyright leaves that space intact which will trigger "trailing whitespace" rules in things like SublimeLinter.

AutoCopyright should trim whitespace from the ends of the lines it inserts.