I think this would ideally be automatic or ran in the background like code actions and code lenses and color boxes.