Home>Article>Development Tools> How to install sublime in Chinese

How to install sublime in Chinese

下次还敢
下次还敢 Original
2024-04-03 13:21:17 649browse

How to install the Chinese language package of Sublime Text

Step 1: Install Package Control

Package Control is a plug-in for Sublime Text Manager, you can easily install various plug-ins. The installation steps are as follows:

  1. Open Sublime Text.
  2. PressCtrl~(Windows/Linux) orCmd~(macOS) to open the console.
  3. Enter the following command and press Enter:
import urllib.request,os,hashlib; h = 'https://packagecontrol.io/Package%20Control.sublime-package'; urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler())); open(os.path.join(sublime.installed_packages_path(), 'Package Control.sublime-package'), 'wb').write(urllib.request.urlopen(h).read());

Step 2: Install the Chinese language pack

Steps to install the Chinese language pack As follows:

  1. Open Package Control.
  2. EnterChineseand press Enter.
  3. Select theChinese Language Packplug-in and clickInstall Package.

Step 3: Enable the Chinese language pack

After the installation is complete, you need to enable the Chinese language pack. The steps are as follows:

  1. Open Sublime Text’s preferences.
  2. SelectPreferences->Settings.
  3. Add the following content in the user settings file:
"ignored_packages": [ "User" ], "color_scheme": "Packages/Chinese Language Pack/Chinese.tmTheme", "font_face": "Microsoft YaHei",
  1. Save the settings file.

The above is the detailed content of How to install sublime in Chinese. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn