What are text editors?

Text editors are software applications designed for editing plain text files without formatting like fonts or styles. They are essential tools used by programmers, writers, and anyone who works with text-based documents. Text editors allow users to write, modify, and organize various types of files, including programming code, configuration files, and scripts. One of their key features is syntax highlighting, which colorizes different parts of the text based on the programming language or file type, aiding readability and error detection. These editors often support extensive customization through plugins and settings, enabling users to tailor their editing environment to suit specific needs. Examples of popular text editors include Sublime Text, Visual Studio Code, Atom, and Notepad++. They are known for their efficiency in handling large files and providing a focused workspace for text-based tasks.

In this course, as well as all of our other courses, we will be utilizing Visual Studio Code (VS Code).

Organizing files and directories

Organizing files and directories is essential for maximizing the efficiency and effectiveness of using a text editor. A well-structured file system enhances workflow by ensuring that files are easily accessible and logically grouped within the text editor environment. This organization allows users to quickly locate and open relevant files, whether they are coding scripts, documents, or configuration files. By maintaining a clear hierarchy of folders and subfolders, such as separating projects into distinct directories or categorizing files by type, users can streamline their editing processes and reduce the time spent searching for specific content. This structured approach not only enhances productivity but also promotes clarity and consistency in file management practices, which is particularly beneficial for collaborative projects and when integrating with version control systems like Git. In summary, organizing files and directories complements the functionality of a text editor by optimizing workflow, improving accessibility, and supporting efficient project management and collaboration.

We'll cover navigating and using file management in later lessons. For now, just focus on understanding the relationship between text editors and files/directories!

Installing a text editor (VS Code)

For both macOS and Windows

  1. Head over to the official VS Code download page: https://code.visualstudio.com/download

  2. You'll see a big download button. Click it and choose the version that matches your operating system (Mac or Windows).

For macOS

For Windows

Congrats! You’ve successfully installed VS Code. Play around and get familiar with the interface.