Developer Tools

Search GitHub

Search GitHub code for the selected text.

OfficialUses internet

Download action

What Search GitHub does

Opens GitHub code search in your default browser with the exact selection safely encoded as the query.

CategoryDeveloper Tools
Action typeWeb action
ResultOpen another app or website
InternetRequired

Action and outcome

Search GitHub example
ActionOutcome
Search GitHubSelected text: NavigationSplitViewGitHub opens with code results for “NavigationSplitView”.

Use Search GitHub

Follow these steps to search GitHub code for the selected text with ActionClip.

  1. Select the text you want to use.
  2. Choose Search GitHub from ActionClip.
  3. The destination opens with your selection ready to use.

Requirements and privacy

  • Before you start: Online Actions must be enabled. GitHub may require sign-in for code results.
  • Your selected text: The selected text is sent to github.com as part of the URL when you run the action.

Action configuration

The definition below is included so you can inspect how the action works before downloading it.

Web action definition
https://github.com/search?q={{url_encoded__selected_text}}&type=code