 Okay, everybody. Welcome to Genie IDE getting started. And my name is Tokyo Ed Tech. It's not my real name, but that's what I go by on the internet. So first, a real quick shout out to my paid channel members. Thank you so much for supporting the channel. We got our snake members on the left, art invader members on the right. This video was actually requested by Ezra in my private discord. Ezra is a 16 bit member and as a 16 bit member, Ezra gets access to that private discord. So if you're interested in supporting the channel, click the joint link below. So today, what I want to talk about is Genie, the flyweight IDE. This is the editor that I use in most of my videos now. I've gone through a few different editors over the years. I've used Visual Studio Code. I've used BB edit, which is a Mac only one. And I there's idle also, which comes with Python because I do most of my coding in Python. But these days, I am a fan of Genie. And here's the Genie webpage. I'll put a link down below. It's genie.org. And you see here it says it's the flyweight IDE is a very small download. It's a very fast program. And it has I think enough features for both beginners that don't confuse them. And it has enough features for people are a little bit more advanced, but don't need all the bells and whistles of something like Visual Studio or don't need all the plugins and things that Visual Studio Code has. So I'm going to assume that you know how to download and install software. So you just go download Genie. If you're on Windows, you click the here. If you're on Mac, you would click here and install it using your normal process. I, of course, am a Linux user, which you may or may not know, but you can probably tell if I looking at the screen here. So I installed that. I don't know if I even use this or if I downloaded it through my distributions package manager. I forget. But anyway, point story is you downloaded here. So let's go take a look at what Genie is and how to kind of get started with it. Because that was a question I got from Ezra. So I'm going to go ahead and click over to Genie. Okay. So when you run Genie, you'll see this particular screen the first time. Now I've already had it installed. So it's, I've actually changed it a little bit from the initial install. And I'll show you a couple of things that are kind of key here. So the first thing you notice is that the file is untitled. So I'm going to go ahead and just say let's just do a Python file. Well, actually, let me go ahead and type a little Python code for us. I'm going to go hashtag, don't go edtech, intro to Genie. And then I'm going to say print, you know, welcome to Tokyo edtech channel. Oops, channel. Now, if you notice, none of the code is color coded or syntax highlighted. This is because Genie doesn't know what language I'm programming in. Now, if you're, you know, if you're from Python, you can say, oh, that's probably Python. You'd be right. But Genie doesn't know that until you save the file. That's what tells it the syntax that you're using. So I'm going to go ahead and hit file, save as. And I'm going to go ahead and put this on my desktop. And I'll just call this genie.py. So save that. Okay. And now you can see we've got the syntax highlighting. So the print keyword is highlighted. The text is also highlighted in green and the comment is grayed out. So this is, this is what we wanted to happen. Now, so the question was, how do I execute a file? What do I, what do I do at this point? Okay. So you'll see here, there's this little gear thing that says run or view the current file. Now, if I click this, what should happen is you'll see down here, welcome to Tokyo edtech's channel. So I have mine set up so that the terminal is actually embedded in the program. Now, by default, when you download it, excuse me, it's not set up that way. You actually have to enable that. So to do that, you go to edit preferences. And there's a bunch of preferences here. So you'll see we're here where it says terminal. There's a little tick box here. It says execute programs in the VTE. Now, I'm sorry to say to Windows users, it doesn't work on Windows. At least it doesn't last time I checked. Okay. So I'm going to uncheck that. I'm going to click apply. Click okay. And I'm going to run this again and see what happens. Okay. So you can see how it pops up here in the terminal rather than down here. Now you may prefer to have it this way. But like I said, Mac users and Linux users have the choice of, of embedding it down here. Windows users do not for some reason. It's requested. It's a requested feature, but the developers have not added that. Yeah. Speaking of, this is a free piece of software. It is open source. It means you can look at the code. It's free. It doesn't cost you anything. You know, I am a big fan of open source software. I support it. I use it where I can. Yeah. So now, so that probably hopefully will get you started. Now one thing you'll find, especially with Python, you might have to do the following. Now, once you're in a Python file, so you go to build, and then you'll see down here where it says set build commands. So when I downloaded this, it was like this, Python and Python. I had to, my computer, your computer may be different. I don't know if it's not working or if it's running Python 2 and not Python 3. You might have to come in and put Python 3 here. There's notice there's no space between Python and 3. So you need to change those two things. Don't change anything else. I don't know what they do. Click OK. And then once you do that, then this command should be working as expected. See here. Now, one of the things I like about Genie is that I can also do other languages. So for example, create a new file. Actually, you have some choices here. It'll actually create kind of some skeleton code for you. So if you're going to do Java, you could, you know, it'll do this nicely for you. I'm going to go ahead and delete that because I don't want that. So you can do Java on here as well. I'm not sure about building and compiling. I'm kind of curious about that myself. I don't know how that works. Let's let's try that. Well, yeah, let's try it. See what happens. I don't know what's going to happen here. System.out.println.tokyo.eddeck. And semicolon. Oops. So I'm going to save that onto my desktop. And then I'm going to go ahead and I think in this case, I have to build it, maybe compile it. Let's try it. I don't know. Okay, so Java, untitled Java, directed Java. Compilation finished successfully. All right, let's see what happens if we run it. Oh my God, it worked. That's fascinating. Okay, so you can do Java as well pretty easily. So there is the compile. If you don't know what compile means, learn Java first. They'll tell you about that. Let's see. I also use this with HTML. So I can go ahead and make a web page. So I'm going to do a quick HTML head. Let's see, title Tokyo edtech. I know I'm getting repetitive here. Title slash head. And let's see body. And see each one. Tokyo edtech. Okay, and slash each one. And slash body and slash HTML. Okay, so I'm going to go ahead and save this. I'm just going to save it to my desktop like I did before. I'm going to save this as index.html. And save it. Now you can see how we have the highlighting. So if I click this button, what I think will happen is it will open up the browser and show me the file. Yeah, there we go. Okay, so it opened up my default browser and showed me the HTML file. So one of the things, again, I really like about this program is that it does multiple languages. You can see on the Genie homepage, they talk about 40 different languages, 50 programming languages, and 40 human languages. So it's a cross-platform, free. It's open source. It does multiple languages. I just find this to be a really, really quick and helpful program to use. Now notice I've changed this to HTML. So I think it has completion as well. Yeah, so you saw how I just typed the H2 and finished it, and then it automatically added the closing tag. So okay, Christian Dobson. So I'm going to save that. I'm going to click this again. And again, it opens up my browser. So you can see Genie is clearly a very fast program. It's definitely faster, I think, than something like Visual Studio Code. Now again, it doesn't do quite as much Visual Studio Code. It's an amazing program. I like it. I use it. I have used it. But there's a lot of features here. I just don't use that much. There's plenty of things. You can change the, you know, all kinds of different options. One thing that might be useful if I can find it is configuration. No. Again, I don't do this very often. It's in a weird spot. Color scheme. So I can go to color scheme. And there are some a couple of defaults built in. You can't actually download more and add them. But I forgot how to do that now. And it's a little bit different on each operating system. But, you know, the web page has a lot of information. Just go to that web page and read it. And it'll kind of walk you through those different things. So yeah, I think that's about it. I'm going to go ahead and turn back on the virtual terminal. But you can see here, you can change the colors. You can change the font sizes and things like that. You know, you can change the keybindings so that things work how you like them. You can change the fonts here. I use kind of a bigger font. A, because my eyes aren't that good. And B, when I record video, it's a little bit small on the screen. So I make quite a bit of a bigger font. You know, you can change, there's just so many options I have been playing with all of them, to be honest. But I think if you get used to the program and use it the way it's kind of intended to, I think you'll find a lot of, I think you'll find it's very helpful. And again, I use it with my students because I teach, as you can see, Python, I teach HTML, CSS, a little bit of JavaScript. And I do teach Java as well. So I like that it's one program that does everything. So my students don't have to, you know, in my Python class, they don't have to get used to one editor. Then when we go to Java class, they have to learn a whole new editor. It's something that can grow with them over the years. So anyway, I hope that gets you started. Again, Ezra asked about that. I hope that'll give you the information you need and anybody else that's looking at this. And I'll put a couple of links down below about, you know, Genie Editor, and just a couple of other things. I think I mentioned a few things, but I'll try to remember what they were. So anyway, if you can support the channel by subscribing or becoming a paid member, I do appreciate everyone. And again, a quick thank you to my members for being there. Have a great day and keep on coding.