github / github/copilot-cli

Support path negation with custom instructions applyTo paths

Ouverte
#1,856 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
area:configuration
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### Describe the feature or problem you'd like to solve

I want to provide broad instructions that apply to 90% of our monorepo. However they do not apply to a small subset. Rather than having to add every single path they DO apply to (hundreds), I want to be able to specify certain paths they do NOT apply to

### Proposed solution

Support negation pattern like:
```
applyTo: **/*.cpp, !/but/not/this/path/**
```

### Example prompts or workflows

I want to provide broad instructions that apply to 90% of our monorepo. However they do not apply to a small subset. Rather than having to add every single path they DO apply to (hundreds), I want to be able to specify certain paths they do NOT apply to

### Additional context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.