From the course: Advanced Prompting with GitHub Copilot
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Working with unknown codebases - Github Copilot Tutorial
From the course: Advanced Prompting with GitHub Copilot
Working with unknown codebases
- [Instructor] When working with extremely large code basis, it is very tricky to not have any context or anything open and not provide the known context and then ask questions because that will not work. So if I go here, this is by the way, the CPython repository. This is the repository that contains the Python programming language. It is extensive, it is large, it has lots of different files, and trying to ask questions if I don't know, will get me into trouble. Now, GitHub Copilot has a few features that might help us out. One of them is the Workspace tool. So if I say Workspace, it will allow me to, or it will allow GitHub Copilot to just go in and try to find as much context and relevant information to what I'm trying to say. So one option is to say, to use Workspace. Sometimes the Workspace is used implicitly behind the scenes. Remember, I don't have any files open. All it knows is that this is a large…