How to change sublime to Chinese version
如何将 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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



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.

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)

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.

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.

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.

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.

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 →

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.
