Lecture 11 - Introduction to AI-Assisted Programming
Applications, Library, System, Users/Users/yourusername/) contains personal folders such as Documents, Desktop, and DownloadsApplications > Utilities > Terminal)cd command to navigate: cd ~/Documentsls commandpwd command~ represents your home folder/ represents the root directory
github folder to download and manage all your Emory projectsDocumentsgithub folder, create a folder for each course and separate folders for each project or quizDocuments
github
qtm350 (our shared repository)qtm350-quiz01 (forked repository)qtm350-quiz02 (forked repository)
Chatbots are helpful in 2025!” = ["Chat", "bots", "are", "help", "ful", "in", "2025", "!"]Source: Tulio (2024).
Ctrl + I (Windows/Linux) or Cmd + I (macOS), a text box will appear into which you can write a promptCtrl + I to ask Copilot to suggest changes to that codeThere are a few standard commands that are available for prompting Copilot to do something when you have a piece of code selected
You can access these in the Ctrl + I interface by typing a forward slash, then the name of the command. These are:
/doc: This will ask Copilot to generate documentation for the selected code. This will suggest changes in the editor
/explain: This will ask Copilot to explain the selected code. It will do this in the Copilot Chat extension
/fix will look for problems in the selected code and suggest fixes for them in the editor
/tests will ask Copilot to generate tests for the selected code. This will suggest changes in the editor, which may include creating a new file for the tests
You can also find these options by right-clicking a highlighted piece of code, and going into the Copilot menu
/doc command/tests to generate tests/tests on a function or snippet, and Copilot Chat will generate relevant test cases@github to get information from any repository@github command that allows you to interact with any repository online@websearch to get information from the web@websearch command that allows you to search the web for information without leaving the editorGitHub CLI to manage Codespaces from the command lineMore information here: https://docs.github.com/en/codespaces/developing-in-a-codespace