Document custom snippet locations #2393
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated documentation to clarify the new snippets anywhere feature. Users can now configure custom snippet locations using glob patterns in docs.json while the default /snippets/ folder remains supported.
Files changed:
create/reusable-snippets.mdx- Updated section title and added explanation of custom snippet patterns with examplesGenerated from [ENG-4658] - Snippets anywhere @k-finken
Note
Clarifies that snippets can be placed anywhere via docs.json glob patterns while keeping the default /snippets/ folder supported.
create/reusable-snippets.mdx):Configure snippet folders→Configure snippet locations.docs.jsonsnippetsarray using glob patterns; default/snippets/remains supported.components/**,shared/reusable/**, andshared/common-component.mdx./snippets/or custom locations.Written by Cursor Bugbot for commit c91c722. This will update automatically on new commits. Configure here.