Allow to code search with text_matches where return full fragment length #75444
Replies: 2 comments 4 replies
-
First of all, format the text properly if you expect to get help, that is the least you can do! Your call:
Your response:
I don't think there is a way to configure the API to return the entire block of code in the Definitely take a look at the documentation, this is what you need: https://docs.github.com/en/rest/repos/contents Let me know if you need help with that. Good luck. 🍺 🍀 |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
in the return
In this code example, assume I have a div block as below,
and when I search I want to be able to return the full block of the code in the fragment where today we are getting only 3 line of code within the matching I believe.
Beta Was this translation helpful? Give feedback.
All reactions