From the course: Build with AI: Beyond Pair Programming with AI
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Inline generation
From the course: Build with AI: Beyond Pair Programming with AI
Inline generation
- [Instructor] The most natural and unobtrusive way of using AI coding tools is an inline code generation in your IDE. I'm using VS code in GitHub code spaces and I have GitHub copilot activated and that means I now have access to copilot inside every single file. And I can access that in multiple different ways. First, I can hit command or control-I, and this brings up a chat window where I can chat with the AI directly. Now this chat window is contextual to the current file I'm in. So when I'm chatting with the system and look at the current file and I can say things like, add subheading and then hit return, and the AI will now look at the code, propose a subheading, I can then look at the code to see is this what I want? If it is, I click accept. If it's not, I can click discard. And if I want a different generated example, I can click the regenerate button, it'll now do the same thing again and give me a different proposal and if that's the one I want, I click accept. Now this is…
Contents
-
-
-
-
(Locked)
Where to start and how to start3m 4s
-
(Locked)
Inline generation4m 11s
-
(Locked)
Seeding, selecting, and expanding4m 32s
-
(Locked)
Generating documentation4m 59s
-
(Locked)
Documentation-Driven Development (DDD?)3m 16s
-
(Locked)
Chatting with code2m 55s
-
(Locked)
Code from a chat (ChatGPT)5m 1s
-
(Locked)
Artifacts (Claude)2m 45s
-
(Locked)
Knowledge, trust, and conservative models4m 49s
-
(Locked)
-
-
-
-