You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update query types documentation with new demos and content
- Update the subtitle and content for the "Query Types" page to focus on Sourcegraph chat instead of the omnibox
- Add new video demos for the Symbol Search, File Search, String Literal Search, and Error Lookups features
- Refine the content and examples for each query type to provide a more comprehensive overview
<pclassName="subtitle">String literal search is a query type or workflow that allows you to find exact text matches by enclosing your search term in quotes, ensuring precise matching instead of keyword-based results.</p>
46
46
47
-
When you enclose text in quotes like `"// Scheme for Authorization header"` or `"unrecognized HTTP Authorization request"`, Sourcegraph performs an exact match search rather than keyword matching. After finding relevant files, you can select specific ones to analyze and ask follow-up questions about their contents - creating an interactive workflow that combines precise search with contextual code analysis.
When you enclose text in quotes like `""authInfo: async provider =>""`, Sourcegraph performs an exact match search rather than keyword matching. After finding relevant files, you can select specific ones to analyze and ask follow-up questions about their contents - creating an interactive workflow that combines precise search with contextual code analysis.
51
48
52
-
### Try it out
49
+
### Try it
53
50
54
-
1. Start a new chat with `"// Scheme for Authorization header"`
51
+
1. Start a new chat with `"authInfo: async provider =>"`
55
52
2. Select a subset of the search results which include usage for the string
<pclassName="subtitle">Error Lookups is a conversational workflow for the Sourcegraph omnibox that helps developers understand error messages by providing plain-English explanations of when and why specific errors occur in their codebase and external service calls.</p>
63
+
<pclassName="subtitle">Error Lookups is a conversational workflow for Sourcegraph chat that helps developers understand error messages by providing plain-English explanations of when and why specific errors occur in their codebase and external service calls.</p>
65
64
66
-
Developers can use Error Lookups to understand error messages occurring in their codebase. When encountering an error, especially from external services or dependencies, developers can use the omnibox to:
65
+
Developers can use Error Lookups to understand error messages occurring in their codebase. When encountering an error, especially from external services or dependencies, developers can use chat to:
67
66
68
67
1. Search for specific error messages across their codebase
69
68
2. Select relevant files where the error is thrown or handled
@@ -80,14 +79,12 @@ This approach helps developers make more informed decisions about error handling
80
79
81
80
### Try it
82
81
83
-
* Query for `"unsupported value for type filter"`
82
+
* Query for `"unsupported platform"`
84
83
* Select the file(s) where the error is thrown
85
84
* Follow up with "Explain when and why this error is thrown"
0 commit comments