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

Allow wrap to be disabled for tables but turned on for paragraphs #884

Open alexhayes opened 3 years ago

alexhayes commented 3 years ago

It would be great if it was possible to disable wrapping for tables but have it enabled for paragraphs.

This would be useful because it's really difficult to work with large tables when they wrap, but it's really useful to have paragraphs wrap.

vsch commented 3 years ago

Can you give you an example of a table (with text before and after) where wrapping is enabled? Please place the code in fenced code markers so it is easier to see with all its details.

 ```markdown
 sample markdown
 ```

The code disables wrapping on lines it recognizes as a table and there are many editing enhancements to add columns before/after the table which make editing easier. Including inserting rows of empty columns when you insert a new line in a table or right after it.

Settings controlling smart table editing on ENTER/BACKSPACE:

image

For these to work you need to enable Table auto-format on typing:

image