From the course: AI-Driven Software Development with OpenAI’s Canvas

Unlock this course with a free trial

Join today to access over 24,200 courses taught by industry experts.

Collaborating on code

Collaborating on code

- When you're working with code, Canvas behaves a bit differently, with features that are customized to developer's needs. I'm going to start with a new chat, and I'm going to drag some JavaScript from the previous example, and I'll make sure that I have ChatGPT 4o with Canvas and type in a prompt. I'll just say, "Let's take a look at this code." Now, if you don't see Canvas pull up, you can edit the question to make sure we force ChatGPT to use Canvas mode. I'll just add the words using Canvas right here, and we'll hit Send. Now it's going to jump into Canvas mode and show me the code. Now this is similar to our text view, but obviously, a bit different. With different options right here, we've got line numbers, as well as a way to collapse certain pieces of code. You also no longer get the plus signs on the right hand side. However, you can choose on these line numbers and get to the Ask ChatGPT section. Maybe it's…

Contents