Sublime Text - Creating First Document


In this chapter, you will learn step by step how to create a file in Sublime Text.

Step 1 − Use the option New File to create a file in Sublime Text editor.

Creating File Step-1

Step 2 − Once the new file is available, you can insert the code, similar to any other text editor, and save the file in your working repository.

Creating File Step-2

Step 3 − Once you save the associated file, Sublime Text editor provides a variety of options based on the type of file, for example .php for PHP scripts, .py for Python scripts and .java for Java code base.

Creating File Step-3

Step 4 − As our code repository is on Python project, we will save the file as, as shown below −

Creating File Step-4