doi / fileheadercomment

visual studio code editor extension
MIT License
21 stars 17 forks source link

Enhancement: Replace the existing comment with the new. #16

Open ronak1009 opened 4 years ago

ronak1009 commented 4 years ago

The feature is to replace the existing copyright header with the new.

This is because, if the file is changed, the timestamp in the copyright comments should get updated. It is manual task to select and delete the comment and then update it with the new.

Limitation: The comments created using the plugin can only be replaced. Not other.

doi commented 4 years ago

For the extension to know which comment blocks to be replaced, the comment blocks must have some kind of unique identifier and that will make the comment blocks dirty. Any idea?