File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,19 @@ request using the first matching rule. If the prompt contains multiple files in
131
131
context, the first rule that matches _ any_ of the files is used. If no filter is
132
132
matched, the catch-all rule applies.
133
133
134
+ :::note More about precedence
135
+
136
+ The order of the rules is important. If you have a more specific rule that
137
+ should take precedence over a general rule, place it higher in the list.
138
+
139
+ Keep substring matching in mind. For example, if you have a filter for ` .ts `
140
+ files placed above a rule for ` .tsx ` files, the ` .tsx ` rule cannot be reached
141
+ because the ` .ts ` filter matches first.
142
+
143
+ :::
144
+
145
+ #### Example configuration
146
+
134
147
<ThemedImage
135
148
alt = ' An example showing several muxing rules for different file types'
136
149
sources = { {
You can’t perform that action at this time.
0 commit comments