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:- Open the Command Palette with Ctrl+Shift+P.
- Type
Preferences: Reset Settingsand hit Enter. - Confirm the reset when prompted.
Note: This will revert all custom settings to default, so consider backing up yoursettings.jsonfirst (you can find it viaPreferences: 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:- Open the Command Palette (Ctrl+Shift+P).
- Type
Configure Display Languageand select it. - If "English (en)" isn’t selected, choose it and install the pack if needed.
- 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:- Uninstall VS Code completely:
sudo apt remove code && sudo apt purge code - Remove any leftover config files:
rm -rf ~/.config/Code/ - Download and reinstall VS Code from the official package (you can use
sudo apt install codeafter adding the official repository, or grab the .deb file directly).
- Uninstall VS Code completely:
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

