You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 18.04下VS Code 1.49.1左侧文件右键菜单中文如何去除?

Fixing Unexpected Chinese Text in VS Code Right-Click Menus (Ubuntu 18.04, VS Code 1.49.1)

Let’s walk through the most likely fixes for this issue—sudden Chinese entries in your right-click context menus are almost always tied to extensions, language pack glitches, or misconfigured settings. Here’s what to try:

  • Check recently added extensions
    Chances are, a newly installed extension (maybe one with Chinese localization) is adding those menu items. Open the Extensions panel (Ctrl+Shift+X), sort by "Installed Date" to see what you added lately. Disable any suspicious ones (especially those related to Chinese language tools or file management) and restart VS Code to see if the Chinese text disappears.

  • Reset your VS Code settings
    Corrupted user settings can sometimes cause odd UI glitches. To reset:

    1. Open the Command Palette with Ctrl+Shift+P.
    2. Type Preferences: Reset Settings and hit Enter.
    3. Confirm the reset when prompted.
      Note: This will revert all custom settings to default, so consider backing up your settings.json first (you can find it via Preferences: Open Settings (JSON)).
  • Reinstall the English language pack
    Even if you’ve been using English, the language pack might have become corrupted. Here’s how to fix it:

    1. Open the Command Palette (Ctrl+Shift+P).
    2. Type Configure Display Language and select it.
    3. If "English (en)" isn’t selected, choose it and install the pack if needed.
    4. Restart VS Code when prompted.
  • Verify your system language settings
    Sometimes Ubuntu’s system language changes can affect VS Code’s UI. Go to Ubuntu Settings > Region & Language, ensure "English" is at the top of your language list. Log out and back in, then restart VS Code.

  • Reinstall VS Code as a last resort
    If none of the above works, a clean reinstall might fix it:

    1. Uninstall VS Code completely:
      sudo apt remove code && sudo apt purge code
    2. Remove any leftover config files:
      rm -rf ~/.config/Code/
    3. Download and reinstall VS Code from the official package (you can use sudo apt install code after adding the official repository, or grab the .deb file directly).

The Chinese text you’re seeing is almost certainly coming from an extension that’s injecting localized menu items, or a language pack that was mistakenly activated or corrupted. These steps should cover all the common scenarios.

内容的提问来源于stack exchange,提问作者Ragav Y

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.09 11:42:45