docs: Add code search documentation#433
Conversation
mike-solomon
left a comment
There was a problem hiding this comment.
I went through and rewrote parts of it to be clearer/more in line with the tone of the docs. We could merge this in right now - but it may be best to wait until we come up with a name for it so we don't have to change URLs or mess with indexing.
ff336db to
f3c8816
Compare
Add comprehensive documentation for trigram-based code search including: - Query syntax reference with all supported filters - Symbol search with visibility and modifier filters - Type relationship filters (extends, implements, returns, throws) - Structural pattern matching with Comby syntax - Output modes (rich vs plain) - Common query patterns and examples - Limitations section explaining when to use OpenRewrite recipes instead
Makes a variety of sections clearer and more visually pleasing. Improves formatting throughout. Adds links to useful places.
Borrows heavily from our datasheet on moderne trigrep.
f3c8816 to
6f577a9
Compare
|
I've rewritten the doc to refer to everything as Moderne Trigrep and also added/rewrote stuff based on the datasheet. Lastly, I fixed merge conflicts with main. When testing it locally, trigrep didn't work at all so maybe we wait to merge this in until the commands work? I think CLI v4 is coming soon, too - which will change the commands again. |
|
Tried again with the latest CLI and still have issues where trigrep does not work locally: https://moderneinc.slack.com/archives/C01S4M53THT/p1771433531796769 |
Summary