psi-header icon indicating copy to clipboard operation
psi-header copied to clipboard

Working on files with multiple copyright holders

Open dcbaker opened this issue 2 years ago • 1 comments

I work on open source projects, where it is common to have multiple copyright holders on a single file. So that top comment may look something like this:

// SPDX-License-Identifier: MIT
// Copyright 2004-2024 Big Corp
// Copyright (c) 2012 Individual
// Copyright © 2014-2022 My company
// Copyright © 2016 Some other Company

I'd like the auto update feature to update just the copyright for myself or my company (depending on the project), but not for anyone else. the replace function only takes a prefix, and for this to work reliably, I think I'd need a glob, something like Copyright * <<company>>

dcbaker avatar Dec 13 '23 18:12 dcbaker

I'll take a look at it over the break and see what I can come up with.

Regards D

davidquinn avatar Dec 23 '23 16:12 davidquinn