IntelliJ Ultimate 2018.1文档无法自动换行问题求助
Hey there! Let’s work through that frustrating document auto-wrap problem you’re facing. Here are some targeted steps to try, based on your setup and test results:
1. Double-Check Core Soft-Wrap Settings
First, make sure your global editor settings are configured correctly:
- Go to
File → Settings → Editor → General(orIntelliJ IDEA → Preferenceson Mac) - Under the Soft-wrap section:
- Tick Use soft wraps in editor and Use soft wraps in console
- Verify your target file types (like
.md,.txt,.kt) are listed in Soft-wrap these files - If you want code lines to wrap too, check Allow soft wraps in code and adjust the Do not wrap lines longer than threshold to a reasonable value (e.g., 120)
2. Fix Quick Documentation Popup Wrapping
Since switching to popup mode didn’t help, check the dedicated setting for documentation windows:
- Navigate to
File → Settings → Editor → General → Quick Documentation - Look for the Soft-wrap long lines option and enable it. This should force wrapping in the documentation popups you’re using.
3. Resolve Plugin Conflicts (Kotlin/Cursive)
Your test showed partial success when disabling Cursive, which points to potential plugin conflicts:
- Update plugins: Go to
File → Settings → Plugins, check for updates for the Kotlin plugin and Cursive (if you plan to use it later). Old plugin versions often clash with older IDE builds like 2018.1. - Safe Mode Test: Restart IntelliJ while holding
Shift(Windows/Linux) orOption(Mac) to launch in Safe Mode (all third-party plugins disabled). If auto-wrap works here, enable plugins one by one to find the culprit.
4. Quick Workarounds to Try
If the above steps don’t fix it immediately:
- Use the keyboard shortcut
Ctrl+Shift+A(Windows/Linux) orCmd+Shift+A(Mac), search for Toggle Soft Wrap, and run it—this can manually trigger wrapping for the current window. - Reset UI scaling: Go to
File → Settings → Appearance & Behavior → Appearance, reset the UI Options font scaling to default. Sometimes odd scaling breaks auto-wrap logic.
Since you mentioned IDEA-169414 doesn’t apply here, these steps should address the specific issues you’re seeing with partial Kotlin documentation wrapping and persistent popup problems.
内容的提问来源于stack exchange,提问作者HappyFace

