如何在JetBrains Rider的Material Theme UI中设置GitHub Light为默认主题并解决重启后自动切换为IntelliJ Light的问题?
Fix: GitHub Light Theme Not Sticking After Restart in JetBrains Rider (Material Theme UI)
I’ve run into this exact issue before—super frustrating when your preferred theme resets on restart! Here are several tested solutions to make GitHub Light stick as your default theme:
1. Double-Check the Theme Selection Path
First, make sure you’re picking the right GitHub Light theme from Material Theme UI (not the built-in one that’s easy to mix up):
- Open Rider and go to
File > Settings > Appearance & Behavior > Appearance - In the
Themedropdown, scroll to find the GitHub Light theme under the Material Theme UI section (it’s distinct from JetBrains’ native GitHub Light option) - Select it, click
Apply, thenOK
2. Sync Settings Globally
Sometimes temporary session settings don’t save properly—force a full sync to lock in your choice:
- Go to
File > Manage IDE Settings > Export Settings - Only check the
Appearanceoption, then export the config to a temporary folder - Next, go to
File > Manage IDE Settings > Import Settingsand load the file you just exported - This ensures the theme setting is written to your global IDE configuration instead of just the current session
3. Disable Conflicting Plugins
Third-party theme plugins can clash with Material Theme UI and override your settings:
- Navigate to
File > Settings > Plugins - Disable all other theme-related plugins (e.g., other custom theme packs or appearance modifiers)
- Restart Rider and see if GitHub Light stays active
- If it works, re-enable plugins one by one to find the conflicting one
4. Manually Edit the Configuration File (Advanced)
If the above steps fail, tweak the config file directly to enforce the theme:
- Close Rider completely
- Locate your Rider config folder:
- Windows:
%APPDATA%\JetBrains\<Your Rider Version>(e.g.,Rider2024.1) - macOS:
~/Library/Application Support/JetBrains/<Your Rider Version> - Linux:
~/.config/JetBrains/<Your Rider Version>
- Windows:
- Open the
optionsfolder and editide.general.xml - Find the line
<option name="themeName" value="..." />and set the value toGitHub Light(match the exact name used by Material Theme UI) - Save the file, then restart Rider
内容的提问来源于stack exchange,提问作者Intolighter
相关产品推荐
相关产品推荐

