Would you like to make small code changes directly to your store? This article is for you! We will guide you through the installation process of Sublime Text, a lightweight and powerful code editor. Sublime Text is appreciated for its speed, customization, simplicity, and efficiency, making coding work more enjoyable, accessible, and productive.
Step 1: Download and install Sublime Text
Sublime Text is available for Windows, Mac, and Linux. Here's how you can download and install it:
- Go to the official Sublime Text website: https://www.sublimetext.com/
- Click on the download link corresponding to your operating system.
- Once the download is complete, open the installation file.
- Follow the on-screen instructions to install the editor on your computer.
Once installed, you can open Sublime Text. A window, similar to a classic text editor, then opens.
Step 2: Open a code file with Sublime Text
Now that the code editor is installed, you can use it to open your code files.
We explain how to open your code files directly from the FTP in this article.
Example of CSS file opened with Sublime Text:
Optional step
After installation, it is recommended to configure Sublime Text to optimize your work with PrestaShop:
-
Open Sublime Text.
-
Install Package Control by following the instructions at https://packagecontrol.io/installation.
-
Once Package Control is installed, use it to install useful packages like
SublimeLinter
,phpfmt
for PHP, orJsFormat
for JavaScript. -
Configure these packages in the Sublime Text preferences so that they match the PrestaShop coding standards.
If you need additional steps, such as connecting Sublime Text to a remote server or adding specific features through plugins, feel free to consult the official documentation or the dedicated forums of Sublime Text.
Frequently asked questions
What if Sublime Text does not recognize the syntax of my files?
- Make sure the file extension is correct and that Sublime Text has a package that supports this format. You can install additional packages via Package Control for better syntax recognition.
Is it possible to use Sublime Text in collaboration mode?
- Sublime Text does not natively support real-time collaboration. However, plugins like
SublimeText Live Share
can be installed to allow collaborative editing. Follow the configuration instructions on the page of the plugin concerned.
Comments
0 comments
Please sign in to leave a comment.