github / github/copilot-cli

Support path negation with custom instructions applyTo paths

Offen
#1,856 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:configuration
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.