From the course: AI-Powered Development: GitHub Copilot in Visual Studio
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Use inline chat for quick edits - Visual Studio Tutorial
From the course: AI-Powered Development: GitHub Copilot in Visual Studio
Use inline chat for quick edits
- [Host] For most of this course, we've been using this chat window, but for now, let's work closer to our code. With Inline chat, the window will appear here in our code editor. It pops up right next to the selected block of code ready to interpret our query and it can generate or apply changes in context. Let's start with a simple task of editing some code in this edit. This class, it's the do work method. This one is clearly poorly named. I'm curious to see if Copilot agrees and can suggest something better. So the way we invoke the Inline chat is to right click and choose ask Copilot, or we can use this keyboard shortcut alt forward slash. Here you can see the Inline chat window. It's one line, very compact, it has a close button, the send chat button, and a way to change the model. So let's go here. Paste in the chat message. Just suggest a better name for this method. Method being the syntax or the context I…
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Inline chat in Copilot: Quick review2m 48s
-
(Locked)
Use inline chat for quick edits3m 9s
-
(Locked)
Describe code with Copilot inline3m 40s
-
(Locked)
Use slash commands inline3m 9s
-
(Locked)
Refactor code inline3m 35s
-
(Locked)
Write XML documentation with AI2m 7s
-
(Locked)
Write comments with AI2m 20s
-
(Locked)
-
-
-
-
-