- search: Fix some issues where results do not reset when a search returns no results or fails.
Smoother search and bug fixes - 2024-12-14
- search: Opening a query in browser now correctly preserves the selected pattern type from the pattern type selector.
- search: Typing during ongoing searches should feel less jittery, as the suggestion view is now less likely to show up randomly.
- search: Loading state looks better with a better no-results view that shows progress and options to continue the search in browser or cancel it entirely.
- dotcom: When using 'Public code on Sourcegraph.com' commands, if an access token is not provided a random anonymous user ID is now generated and used with API requests and telemetry for diagnostics. Telemetry can be disabled in the extension preferences.
- doc: 'Sourcegraph.com' commands are now called 'Public code on Sourcegraph.com', and 'Sourcegraph instance' commands are now just referred to as 'Sourcegraph' commands.
- search: The search pattern selector is now enabled by default, allowing you to easily toggle between standard, literal, regexp, and other search patterns. This can be disabled in the extension preferences if you find the dropdown takes up too much space in the search bar.
- search: For search results that have associated file paths, you can now easily copy the path of the file associated with a result or open it in the browser with the new
Copy File Path
andOpen File in Browser
actions. - search: The
Cmd-Enter
shortcut used for options like "Open Query in Browser" is nowCmd-Shift-Enter
to avoid conflicts with reserved Raycast shortcuts. - search: Fixed cases where a title may be missing in results, improved handling of unknown result types, and improved results views.
- proxy: Proxying requests over Unix domain socket for custom Sourcegraph instances is now supported via the new
Sourcegraph Instance: Proxy
option; note that HTTP proxies are not yet supported (#21) - notebooks: Notebooks have been disabled on Sourcegraph.com for some time now, so the command for interacting with public notebooks on Sourcegraph.com has been removed. The "Find Search Notebooks" command for custom instances is still available for the time being.
- internal: The extension now exports some basic telemetry to the connected Sourcegraph instance only. If you are using a self-hosted or on-prem instance, telemetry will be managed according to the instance's telemetry settings. This can be disabled in the extension preferences.
- internal: Updated dependencies.
- search-history: Introduce 'Code Search History' command - unique searches are now stored locally, and past searches can now be listed in this new command (#19)
- search: Improved metadata display for repository and symbol results.
- all: When a custom Sourcegraph instance is configured, the instance's URL will now be configured as the command subtitle for the relevant command variants.
Search API capabilities updates - 2022-12-05
- search: Improved support for some new API capabilities.
- internal: Various dependency updates.
Updated iconography, search improvements - 2022-08-04
- all: Iconography has been updated throughout the extension.
- search: Add support for lucky suggestions.
- search: Improve items for suggested filters.
- search: Improve when branch information gets rendered.
Bug fix - 2022-07-07
- search: Fix issue where search results with lengthy details can cause Raycast to crash.
- all: The future of Sourcegraph is single-tenant - this means that support for private code on Sourcegraph.com will soon be going away. This means that soon, the default "Search code" command - which searches Sourcegraph.com - will only be able to search the many open source repositories available on Sourcegraph.com. To search your private code, please reach out to get a demo of the single-tenant solution, or try out a self-hosted installation of Sourcegraph. Various documentation updates, renames, and internal changes have been made to reflect this upcoming change.
- search: Fix issue where matches for which the associated repository is not tied to a specific revision associated would mistakenly have
@
appended. - internal: Dependency updates.
Improved revision search and result tooltips - 2022-06-27
- search: Results from revision matches (e.g. with
repo:[email protected]
) now annotate results with which revision the match was on, and drilldowns (Tab on a result) now more consistently apply the appropriate revision to generated searches. - search: Repository results with long names and long descriptions that are at risk of getting their names cut off are now hoverable for the full name of the repository.
- search: Repository results with short descriptions no longer have hover text.
Search performance improvements - 2022-05-29
- search: The drilldown action shortcut is now Tab, to align the shortcut for selecting suggestions in the Sourcegraph web application. For example, on a repository result, Tab will start a search with the
repo:
filter. - search: The number of rendered results is now limited, which drastically improves performance and stability.
- search: Progress text now indicates whether there are more results to be found and when rendered results are a subset of all results.
- search: Empty search text states now load faster.
- self-hosted: Setup prompts now include an action to directly open extension preferences.
- internal: Migrate to
graphql-code-generator
(#16)
Fix search suggestions - 2022-05-14
- search: Fix 'Apply suggestions' on some suggestions returned by the search API. (#15)
Search fixes, hover tooltips - 2022-04-25
- search: Internal improvements to mitigate stuttering when typing search queries.
- search: Icons, titles, and subtitles in the main search results list are now all hoverable to see more details.
- batch-changes: Some list elements are now hoverable for additional details.
- notebooks: Some list elements are now hoverable for additional details.
Bug fixes - 2022-04-05
- batch-changes: Fix an issue where typing quickly could cause missed characters.
- batch-changes: "Manage Batch Changes" is a new command that allows you to browse, view, publish, merge, and retry changesets for Sourcegraph Batch Changes! This is only supported on Sourcegraph Self-Hosted. (#11, #13)
- search, notebooks: The default action on results is now to always open a preview in Raycast, rather than opening in browser directly, for consistency. Previously, results with single matches would open in the browser directly.
- search: Search results now have a new drilldown action to query within the result's repository or file using the
Cmd-S
shortcut. For example, on a repository result,Cmd-S
will start a search with therepo:
filter. - search: The default context is now explicitly pre-populated in the search bar, instead of being implicit.
- search: You can now apply suggestions directly with an action.
- search: Path result previews (e.g. from
type:path
orselect:file
) now render a preview of the file contents. - search: Repo result previews (e.g. from
repo:
ortype:repo
) now render the repository'sREADME.md
. - search: Some search result types now leverage metadata details.
- search: An experimental dropdown for selecting the search pattern type to use can now be enabled under the extension preferences.
- search: Potential fix for issue with connecting to self-hosted Sourcegraph instances. (raycast/extensions#1126)
- notebooks: Notebook view now leverage metadata details and support the new Symbol block type.
- prefs: Fixed issue with self-hosted instance URLs that have trailing slashes. (#12)
Bug fixes - 2022-02-15
- search: Fix URLs opened by
symbol
match results. (#7)
Bug fixes and internal updates - 2022-02-07
- search: Fix off-by-one issue when opening
content
match results. - search: Migrate away from the deprecated
/search/stream
endpoint in favour of/.api/search/stream
.
- prefs: Configuration for "Sourcegraph Instance" commands has been moved from the top-level "Search Code" command into the Sourcegraph extension preferences, and has been renamed "Sourcegraph Self-Hosted" for clarity. As a result of this, existing preferences might be reset and need reconfiguring. (#2)
- notebooks: "Find Search Notebooks" is a new command that allows you to query, peek, open, and create Sourcegraph Search Notebooks! (#2)
- search: For
content
andsymbol
matches, if there is more than 1 result in the match, the default command when pressingEnter
is now a revamped peek view that allows you to filter and jump to specific results. (#4) - search: The shortcut to open the entire query in browser is now
Cmd
-Shift
-O
. (#3) - all: Sourcegraph Self-Hosted variants of each command now have an alternative icon to help better differentiate them.
Initial release - 2022-01-20
- Initial release on the Raycast store