Home Development Tools sublime How to change sublime to Chinese version

How to change sublime to Chinese version

Apr 03, 2024 pm 02:09 PM
sublime macos

如何将 Sublime 文本编辑器切换为中文版

Sublime Text 是一个流行的跨平台文本编辑器,默认使用英语界面。如果你希望使用中文界面,可以按照以下步骤操作:

1. 安装语言包

  • 打开 Sublime Text。
  • 单击菜单栏中的“Preferences” > “Browse Packages...”
  • 在文件浏览器中创建以下文件夹(如果不存在):

    • macOS: ~/Library/Application Support/Sublime Text 3/Packages
    • Windows: C:\Users[用户名]\AppData\Roaming\Sublime Text 3\Packages
  • 下载中文语言包:https://packagecontrol.io/packages/ChineseLang
  • 将下载的 .sublime-package 文件解压到创建的文件夹中。

2. 启用语言包

  • 重新启动 Sublime Text。
  • 单击菜单栏中的“Preferences” > “Settings - User”。
  • 在打开的 JSON 文件中添加以下内容:

    <code>{
    "ignored_packages": [],
    "font_face": "Consolas",
    "font_size": 14,
    "translate_tab": true,
    "translate_function_docs": true,
    "theme": "Solarized (Light).sublime-theme",
    "package_control": {
      "package_installation_directory": "~/Library/Application Support/Sublime Text 3/Packages",
      "package_renaming_directory": "~/Library/Application Support/Sublime Text 3/Packages/Renamed"
    },
    "indent_subsequent_lines": true,
    "tab_size": 4,
    "line_padding_bottom": 3,
    "line_padding_top": 3,
    "word_wrap": false,
    "trim_trailing_white_space_on_save": false,
    "ensure_newline_at_eof_on_save": false,
    "automatic_function_prototypes": false,
    "show_whitespace": false,
    "draw_white_space": "selection",
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "gutter": true,
    "indent_width": 4,
    "show_invisibles": false,
    "translate_variables": true,
    "translate_strings": true,
    "show_minimap": true,
    "minimap_width": 75,
    "line_numbers": true,
    "find_in_files": true,
    "quick_panel_search": true,
    "enable_git": true,
    "files_exclude_from_project": [
      "*~"
    ],
    "folder_exclude_patterns": [],
    "disabled_syntaxes": [],
    "ignored_syntaxes": [],
    "global_settings_file": "Preferences.sublime-settings",
    "default_encoding": "UTF-8",
    "mouse_wheel_behavior": 2,
    "find_selected_text_only": true,
    "increase_indent_pattern": null,
    "auto_complete_selector": "source, variable",
    "auto_complete_commit_on_tab": true,
    "auto_complete_debounce": 55,
    "auto_indent": false,
    "detect_indentation": true,
    "tab_completion": true,
    "translate_completions": true,
    "hide_status_bar": false,
    "auto_complete_prefer_exact_prefix_limit": 25,
    "renderer": "best",
    "merge_lines": true,
    "auto_close_unbalanced_brackets": true,
    "insert_final_newline": true,
    "verify_file_encoding": true,
    "word_wrap_width": 80
    }</code>
    Copy after login
  • 保存文件。

3. 重新启动 Sublime Text

  • 重新启动 Sublime Text,界面将切换为中文。

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

Statement of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to clean nginx error log How to clean nginx error log Apr 14, 2025 pm 12:21 PM

The error log is located in /var/log/nginx (Linux) or /usr/local/var/log/nginx (macOS). Use the command line to clean up the steps: 1. Back up the original log; 2. Create an empty file as a new log; 3. Restart the Nginx service. Automatic cleaning can also be used with third-party tools such as logrotate or configured.

What computer configuration is required for vscode What computer configuration is required for vscode Apr 15, 2025 pm 09:48 PM

VS Code system requirements: Operating system: Windows 10 and above, macOS 10.12 and above, Linux distribution processor: minimum 1.6 GHz, recommended 2.0 GHz and above memory: minimum 512 MB, recommended 4 GB and above storage space: minimum 250 MB, recommended 1 GB and above other requirements: stable network connection, Xorg/Wayland (Linux)

vscode cannot install extension vscode cannot install extension Apr 15, 2025 pm 07:18 PM

The reasons for the installation of VS Code extensions may be: network instability, insufficient permissions, system compatibility issues, VS Code version is too old, antivirus software or firewall interference. By checking network connections, permissions, log files, updating VS Code, disabling security software, and restarting VS Code or computers, you can gradually troubleshoot and resolve issues.

What is vscode What is vscode for? What is vscode What is vscode for? Apr 15, 2025 pm 06:45 PM

VS Code is the full name Visual Studio Code, which is a free and open source cross-platform code editor and development environment developed by Microsoft. It supports a wide range of programming languages ​​and provides syntax highlighting, code automatic completion, code snippets and smart prompts to improve development efficiency. Through a rich extension ecosystem, users can add extensions to specific needs and languages, such as debuggers, code formatting tools, and Git integrations. VS Code also includes an intuitive debugger that helps quickly find and resolve bugs in your code.

Can vscode be used on mac Can vscode be used on mac Apr 15, 2025 pm 07:45 PM

VS Code performs well on macOS and can improve development efficiency. The installation and configuration steps include: installing VS Code and configuring. Install language-specific extensions (such as ESLint for JavaScript). Install the extensions carefully to avoid excessive startup slowing down. Learn basic features such as Git integration, terminal and debugger. Set the appropriate theme and code fonts. Note potential issues: extended compatibility, file permissions, etc.

How to read nginx configuration How to read nginx configuration Apr 14, 2025 am 11:18 AM

Nginx obtains configuration information by reading the configuration file, located in /etc/nginx/nginx.conf. The reading process includes parsing, validating, loading, and applying configuration. Hot restart allows configurations to be reloaded without stopping the server, simply re-parsing, reloading, and applying new configurations. If you have any problems, you can look for error messages in the error log.

vscode Previous Next Shortcut Key vscode Previous Next Shortcut Key Apr 15, 2025 pm 10:51 PM

VS Code One-step/Next step shortcut key usage: One-step (backward): Windows/Linux: Ctrl ←; macOS: Cmd ←Next step (forward): Windows/Linux: Ctrl →; macOS: Cmd →

How to set vscode How to set vscode Apr 15, 2025 pm 10:45 PM

To enable and set VSCode, follow these steps: Install and start VSCode. Custom preferences including themes, fonts, spaces, and code formatting. Install extensions to enhance features such as plugins, themes, and tools. Create a project or open an existing project. Use IntelliSense to get code prompts and completions. Debug the code to step through the code, set breakpoints, and check variables. Connect the version control system to manage changes and commit code.

See all articles