Open jbranchaud opened 11 years ago
Very much in favor of this. We may need to be concerned with how the different annotations work in conjunction with a regex based approach to identifying files though. Thoughts?
I am also a fan of this feature. I also had the same concern of the possible interference of the regex feature. I am not sure how we want to deal with it, but one possibility could be to signal that regex is happening with some notation (similar to how they do in python). I must admit though that as I write this, I don't like it. Seems a bit to clunky. Let me know if you can think of a lightweight way of making regex distinct.
I have added a description of this feature in the experimental features section of the v0.1.4 specification.
In the event that we have two distinct changes within an individual file, we may want to use annotations that are more fine-grained than the file-level ones. Consider the following notation that allows for more specificity in the annotations: