From the course: XML Essential Training
Getting set up
- [Instructor] You can get all of the examples for this course on GitHub at this link. The example files are stored in two separate folders. There's the Finished folder, which contains all of the exercises in their completed state. You can use these files as a reference for your own work as you go through the course. And you can see that there are folders that correspond to the various chapters of this course. The Start folder contains the examples in their starting state. And this is the folder I will be working in as we build each example towards the finished state. Now, how you use these exercise files is entirely up to you. If you want to use the start version and then follow along with me as I build towards the finished version, well, that's great. If you want to just jump right ahead to the finished version of the exercise to see how everything works, that's great too. It's entirely up to you. You can download the exercise files using the Code menu, and you can either download them as a ZIP file or clone a copy of this repository to work on in your own GitHub account. Next, let's set up Visual Studio Code. Because XML is an open and text-based file format, you can use whatever code editor you want for working with the example files in this course. I'm going to be using Visual Studio Code. It's free and it runs on Mac, Windows, and Linux. It also has a great ecosystem of third-party plugins for working with a variety of technologies, including XML. If you decide to use it, you can download and install VS Code from code.visualstudio.com. Once you have it installed, start up Visual Studio Code, and then let's get the extensions installed that you'll need for this course. Go ahead and click on this little icon right here, the one with the boxes. And then, now I've already got my extensions installed, but what you're going to do is go up to this little search bar here and you're going to search for Live Server. And when you do that, this should be the first result, it's the one with all the downloads. You're going to go ahead and install this extension because we're going to need it for the course. It makes it really easy to preview a file in the browser using a local web server. So, go ahead and install this extension. And once you do, click on the Settings for this extension and then you can set the browser you want to preview your files in. I'm going to use Microsoft Edge, but you can set it to whatever you have installed. If you leave it as null, then it will just use whatever the default browser is for your system. The next extension you want to install is called XML, so do a search for XML. And again, the first result should be this XML extension from Red Hat. This extension provides many useful features for working with XML, like syntax highlighting, and code autocomplete, and so on. There's no special settings to set up here, just go ahead and install it and you're done. And then, restart Visual Studio Code. After you've installed these extensions and you have the example files downloaded and unpacked or forked into your own repository, then you are ready to start.