Slide 9
Slide 9 text
Best practices for prompting GitHub Copilot
Provide context:
Open relevant files or use #file to select file
Write comments that describe intent
Add imports for the packages that you want it to use
Write descriptive names for variables, functions, classes
Use types (TypeScript for JS, annotations for Python)
Be predictable:
Follow standard naming conventions
Use common software architecture patterns
Prompting Copilot in VS Code: tinyurl.com/prompting-vscode