Transcript

CHRISTIAN NOLD
In this video, I want to show you how to create a codesnippets text file and paste something into it. I'll show you how to do this on a Macintosh with a programme called TextEdit, but the process will basically be the same on a Windows computer. On Windows, I recommend you use a programme called Notepad that comes installed on all Windows computers.
So on a Macintosh, the place to find it is in Applications, TextEdit. So when I open this, it makes a blank text file, like this. And what I'm going to do is I'm going to go to File, Save. And I'm just going to save it onto my desktop. And I'm going to call it Codesnippets, just like that. Save.
And you can see, at the top, the title is Codesnippets. Great. So I'll have a codesnippets file. So what I can use it for is by copying and pasting little pieces of programme code into it. So here, I'm just going to select this stroke colour value and I'm going to do Command-C on a Macintosh or Control-C on a PC, and I'm going to go back to the text file, and then I'm going to do Command-V or Control-V to paste it.
So you can see, there's a little piece of code just here. So I can use the codesnippets file to save a whole bunch of small little pieces of code that might be useful at a later stage.