Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docs/how-to-videos/code-search/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Code Search

Full [search query syntax](/code-search/queries).

### Introduction

| Topic | Description |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [Intro to Sourcegraph Search Types](https://www.loom.com/share/e5e97ea303ab408e99478f34052cfe1b?sid=49bd4515-d4d0-466b-be10-f40df13ce081) | Navigating the Code Search web app and the Keyword, Literal, Regex, and Structural search. |
| [Search Results Page Overview](https://www.loom.com/share/c713baea045c40bdba9bc2f524ae4387?sid=8f6e3242-032c-40ec-9fa8-2006ad3c30f9) | Navigating the search results page. |
| [Intro to Search Filters](https://www.loom.com/share/f48295092e7f4a9b874bfd8f81595a87?sid=dd05c740-be70-4374-b890-219a48c8d9f2) | An overview of the most commonly-used search filters such as Language, Repo, and File. |
| [Search Types](https://www.loom.com/share/2484f5b47fec47c68369399a26a18150?sid=52b5df3f-35d4-4ea0-b009-cd64946d1d38) | Searching against Code, Repo, Path, Symbol, Commit, and Diff data. |
| [Code Navigation](https://www.loom.com/share/a354ee1d87524239a8322d4c9c3131e9?sid=ce08dd70-4489-4cdc-b067-d470a505ce41) | Finding defintions and references, and an explanation of precise versus search-based [code navigation](/code-search/code-navigation). |
| [Saving Searches](https://www.loom.com/share/5728c5fc9ac14a11aa9ca875c6eaa406?sid=eb6112d7-5f3e-45fb-ae89-a990355f0ab8) | [Saving](/code-search/working/saved_searches) commonly-used searches. |
| [Search Contexts](https://www.loom.com/share/0b2ebb0a96154a87bad3c3c451f2ffcd?sid=dd211b02-6d7b-4c52-86fd-bebccc4a63d9) | Intro to [Search Contexts](/code-search/working/search_contexts.mdx) and how to manage them. |

### Advanced Searches
| Topic | Description |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [Non-default branches, revisions, and tags](https://www.loom.com/share/2a812f39bc5548b19ff2e05e819485ec?sid=7bccac65-4354-4177-8dca-d22bff2480ff) | Intro to [Revision search](/code-search/queries/language#revision) and how to search for specific branches, revisions, and tags. |
| [Commit messages](https://www.loom.com/share/2221265f062b4092bca6a69270fac84e?sid=b0d17c04-f01d-43dd-a690-a740b1bde4b0) | Searching `type:commit` messages. |
| [Diffs](https://www.loom.com/share/daf8a5dcb5ea4ee0b41cddad7331f433?sid=a86b047f-f516-4c85-be1f-1dab5fd6d76d) | Searching `type:diff` . |
| [Added or removed code](https://www.loom.com/share/ccb7ce60010749989978dd717faded8a?sid=7e610fe0-4914-4476-8596-2ef330701b10) | Combining `type:diff` with `select:commit.diff.(added OR removed)` . |
| [By author](https://www.loom.com/share/5dfaa523713b4fa49526533abb0a9391?sid=6ca791e0-157b-486e-acb6-4584592c29c4) | Using the `author: ` filter. |
| [Time-boxing searches](https://www.loom.com/share/104a5abfb3b74663b4b2f140d24bab3f?sid=5479b164-d6cb-4268-a959-00dbf01d8178) | Using the `before:` and `after:` filters. |
| [Boolean operators](https://www.loom.com/share/0e762571a0334ceabf41c6bb4732642b?sid=34ecfad8-7a83-4c21-914b-3a90a0c3b9e2) | Using `AND`, `OR`, and `NOT` operators. |
| [Functions and other symbols](https://www.loom.com/share/88755bf5490947a080e88a5fea040323?sid=9f815a7f-881f-4f0c-a55b-6e4b95699a0a) | Using `type:symbol` filter. |
| [Advanced symbol search](https://www.loom.com/share/b8a1456c460442d3b42db1f2c783dd63?sid=a191fc76-34bf-4f71-89ee-6905235c8f47) | Combining the `select:symbol.(symbol_type)` and `type:symbol` filters. |
| [Selecting metadata](https://www.loom.com/share/acb42f0611c14bb19dd24b28ac84ec2e?sid=2cf9ce6f-2862-4176-80b4-f66eb0e30277) | Using `select:` filter to return data other than the type of data searched against, e.g. returning all repos than contain a certain function. |
| [Advanced repo search](https://www.loom.com/share/99e3f27c060b41d793e470a95c6f67bf?sid=8662effe-6e74-47c1-86aa-bef9e505a9a1) | Using [`repo:has.(...)`](/code-search/queries/language#built-in-repo-predicate) filters. |
| [Excluding stale repos](https://www.loom.com/share/7c602971543546538c475a698e23871e?sid=ccd38787-eb5e-4e96-a7ac-255d699b8ed3) | Using `repo:has.commit.after(...)` filter. |

### Batch Changes and Code Insights
| Topic | Description |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [Batch Changes](https://www.loom.com/share/475d300b96c4404ba62edc8063499a05?sid=79e1fdb4-65ca-46d9-bfe9-d80257db831c) | Intro to managing [Batch Changes](/batch-changes) and the [batch spec](/batch-changes/batch-spec-yaml-reference) file. |
| [Code Insights](https://www.loom.com/share/7066ac1ef33a41638793ac8f468b8ab8?sid=35b001df-84f8-4221-90c4-2ba46e03b9fc) | Intro to [Code Insights](/code_insights). |
| [Code Monitoring](https://www.loom.com/share/99b8302e832a4341bc98916219fe8418?sid=261fc431-67e7-4df2-9cfa-306bcf003911) | Intro to [Code Monitoring](/code_monitoring). |

24 changes: 24 additions & 0 deletions docs/how-to-videos/cody/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Cody

### Getting started with Cody

| Topic | Description |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [Cody Web - Overview](https://www.loom.com/share/0989de19eafc44be9208f2ece9b2d901?sid=fa5965de-b844-406d-801a-bcf86f24913c?sid=bf56d3a2-e640-40ba-8cf0-d684ef9317f4) | Intro to the Cody web feature.
| [Cody IDE - Overview](https://www.loom.com/share/44976666510f477da4d140273bd7615a?sid=bf56d3a2-e640-40ba-8cf0-d684ef9317f4) | Intro to the Cody extension in an IDE.
| [Cody IDE - Chat](https://www.loom.com/share/a8c9403e10144f65a7413509c5f03f9c) | Intro to Cody chat in an IDE.
| [Cody IDE - Autocomplete](https://www.loom.com/share/d1270097c6c148148bdbaf9a2f7bfe7e) | Intro to Cody autocomplete in an IDE.
| [Cody IDE - Commands](https://www.loom.com/share/528b7b0ac36f4fbf8adb1cdba84f40da?sid=2d4e0354-5746-4beb-8848-bda547aa0110) | Intro to Cody commands in an IDE.




### Identifying Code AI Use Cases

| Topic | Description |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [LLM Fundamentals](https://www.loom.com/share/379a3c6f9a2140cd8c5c8569ee7908e1?sid=c144e439-45a3-49fc-8034-8935fb23758e) | LLM basics and how they impact coding assistants.
| [Cody Context Retrieval](https://www.loom.com/share/4bf1c37ccd8f425286618eaecce5d2ba?sid=629b5a84-2e48-4036-b89b-128a8155bdb3) | Demystifying Cody context retrieval.
| [Task Categorization](https://www.loom.com/share/ab876ae8bed14ab889640e8f938d5ac7?sid=88c864e2-7fbb-4bc8-b213-5805eda9a1e5) | Introducing a task categorization framework to help you use coding assistants effectively.
| [Cody Use Cases in the Developer Workflow](https://www.loom.com/share/d99d64ade19a447eaf512fa158d19092?sid=929c3811-4472-41c8-9568-20d10fb0efa5) | Thinking about how to use Cody in the typical developer workflow.

9 changes: 9 additions & 0 deletions docs/how-to-videos/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# How to videos

<p className="subtitle">Short, consumable videos to help you get started with Sourcegraph.</p>
## [Code Search]()

<QuickLinks>
<QuickLink title="Code Search" icon='codesearch' href="./how-to-videos/code-search"/>
<QuickLink title="Cody" icon='cody' href="./how-to-videos/cody"/>
</QuickLinks>
8 changes: 8 additions & 0 deletions src/data/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,14 @@ export const navigation: NavigationItem[] = [
title: "SLAs & Premium Support",
href: "/sla",
},
{
title: "How to videos",
href: "/how-to-videos",
sections: [
{ title: "Code Search", href: "/how-to-videos/code-search" },
{ title: "Cody", href: "/how-to-videos/cody" },
],
},
{
title: "Tutorials",
href: "/tutorials",
Expand Down
Loading