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

Auto include file name #24

Closed An-dz closed 11 years ago

An-dz commented 11 years ago

Here's my pull request I told later.

Add %f in preferences and it will include the file name when inserting the copyright.

One project I'm working include the file name and this makes things easier to me. It won't update if the file name is changed without SublimeText. If you 'save as' with SublimeText it updates.

I haven't tested this on SublimeText 3, only with SublimeText 2, I kind of merged the changes for the master branch.

lee-dohm commented 11 years ago

In general, this change looks good. But the tests still need to be updated and for this to work for ST2, it needs to be based off of the v1.0.0 tag. I can do it if you can't, but it will take time. Let me know. Thanks for your interest and help!

An-dz commented 11 years ago

I already have it done for the v1.0.0 tag, I'm using SublimeText 2. Only question is, how should I make this pull? Because a tag is fixed, not like a branch. Should I remove the changes in master since v1.0.0 because they are replicated in ST3 branch?

lee-dohm commented 11 years ago

Ok, I'll take a look.