JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
252 stars 54 forks source link

Ideolog always disables soft wrap regardless of the global user setting. #115

Open vctls opened 3 years ago

vctls commented 3 years ago

Products: PhpStorm 2021.1.3, IDEA CE 2021.1.2 Plugin version: 203.0.27.0

As soon as a log file is handled by Ideolog, soft wrap is disabled each time I close and reopen the file, whatever the global soft wrap setting is in File | Settings | Editor | General.

This doesn't happen when the file type is not handled by Ideolog.

Steps to reproduce:

  1. Make sure the extension is associated with log files in File | Settings | Editor | File Types
  2. Open log file, right click editor gutter and enable soft-wrap
  3. Close and reopen the file: soft-wrap is now disabled.
  4. Remove file type association in File | Settings | Editor | File Types.
  5. Open log file and re-enable soft-wrap.
  6. Close and reopen the file: soft-wrap stays on.
vctls commented 3 years ago

Actually, this doesn't always happen. I'm not sure why. My dev.log is always soft-wrapped whereas my test.log never is. 🤨