Explicit tour update (#21897)

* Explicit tour update

* Update doc/getting-started/tour.md

Co-authored-by: Joel Kwartler <LoJoel3+gh@gmail.com>

* Update doc/getting-started/tour.md

Co-authored-by: Joel Kwartler <LoJoel3+gh@gmail.com>

Co-authored-by: Joel Kwartler <LoJoel3+gh@gmail.com>
This commit is contained in:
Emily Chapman 2021-06-08 15:08:49 -07:00 committed by GitHub
parent f3874b8479
commit a36e8a0b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ Workflow:
1. Read through the code, clicking on a token and then **Go to definition** to navigate to its definition as needed.
1. If you have unanswered questions, use the blame information to determine who wrote the code, and send them a Sourcegraph link to the relevant code along with your specific questions.
To try this on an open-source repository, start by searching for [repo:Microsoft/node-jsonc-parser getLocation](https://sourcegraph.com/search?q=repo:Microsoft/node-jsonc-parser+getLocation) and follow the steps above to navigate to the implementation of the [`getLocation`](https://sourcegraph.com/github.com/Microsoft/node-jsonc-parser@e31983089c88114c7cc17f8c729feb493295c69d/-/blob/src/impl/parser.ts#L26:17) function. From there, keep drilling down until you get to the [`createScanner`](https://sourcegraph.com/github.com/Microsoft/node-jsonc-parser@e31983089c88114c7cc17f8c729feb493295c69d/-/blob/src/impl/scanner.ts#L13:17) function.
Using an Open Source repo, you can follow the steps above to navigate to the implementation of the [`getLocation`](https://sourcegraph.com/github.com/Microsoft/node-jsonc-parser@e31983089c88114c7cc17f8c729feb493295c69d/-/blob/src/impl/parser.ts#L26:17) function. From there, keep drilling down depth-first until you get to the [`createScanner`](https://sourcegraph.com/github.com/Microsoft/node-jsonc-parser@e31983089c88114c7cc17f8c729feb493295c69d/-/blob/src/impl/scanner.ts#L13:17) function. Explicitly, this involves: reading `getLocation` until you reach the first new function, `visit`; then finding the implementation of `visit` via "get references" and reading `visit` until you reach the first new function, `createScanner`.
---