vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
812 stars 129 forks source link

Hard wrap defaults not working any more #863

Open jshook opened 4 years ago

jshook commented 4 years ago

In some recent update, it seems that hard wraps (defaulting to the IDEA wrap settings) no longer work. I was using the hard wrap mode to format docs so that they could be terminal friendly.

No matter what combination of settings I use, I can't get this behavior back.

Expected: With default wrap settings (not soft wrap) in IDEA, when editing any file (soft wrap exclusions disabled), newlines are inserted automatically as needed to wrap to the next line. With these same settings and the plugin set to use "default" in every option that configures wrapping behavior, the same should happen.

New Annoying Behavior: No matter what settings are chosen, only soft wrap or no wrap works. There is no hard wrap behavior available, unless it is from some secret options combination that I haven't found.

Version: 3.0.201.105 EAP

jshook commented 4 years ago

I managed to find a combination of settings between IDEA and the markdown plugin to give me hard wraps again as I wanted. However, given that there are probably a dozen different settings which affect the wrapping behavior including the enhanced editing, and they are spread far and wide within the IDEA configuration, I can't honestly piece together what made the difference.

It also appears that some editing settings want a restart and some do not, so it's difficult to troubleshoot when you can't change a setting and go. I would like to see all of the settings which are affect wrapping (hard wrap, soft wrap), etc in a single panel.

Also, since the settings are all over the place, it wouldn't actually hurt to put all the markdown settings under one section just for sanity sake, or even to just link to all the other settings which affect a given concern. I've spent way too much time trying to configure this plugin to make it work sanely for me.

vsch commented 3 years ago

@jshook, markdown hard wraps are set to follow the IDE defaults on installation.

If you wish to have Markdown files have their own hard wraps settings you can change them under markdown code style settings:

image