Comments (9)
FYI, I plan on tackling better Markdown support during October for Hacktoberfest.
from wraptocolumn.
Thank you, @tomzx. I will look into this issue as soon as I can.
from wraptocolumn.
Other interesting things about Markdown files: **Bold text**
at the beginning of a line is interpreted as a comment, causing all lines afterward to gain a *
prefix.
from wraptocolumn.
I started on this but ran out of time. It's my most desired feature, so I will resume after the holidays!
from wraptocolumn.
I would like to see this handled better too. I use reST for my docstrings in PyCharm and have things like:
:param foo: Does foo things. See also *bar*.
:param bar: Very different than *foo*.
The problem is that when markup like *foo*
or *bar*
gets near the wrap point, Wrap (Line) To Column has a tendency to strip off one or more of those asterisks. Sadly, I often don't notice until after commit/release. If I have to do much docstring work, I just resort to VIM which largely defeats the whole purpose.
from wraptocolumn.
Another example are dashed lists, i.e. paragraphs that start with "- " or "# " (a dash or hash followed by one or several spaces). In reStructuredText (and I guess in markdown as well) all remaining lines should have the same indentation as the first character of the first line (counting the "-" or "#" like a space).
from wraptocolumn.
Ya, using this with Markdown is challenging as lists don't wrap correctly
* List item 1
* List item 2 that's very very very very long
Becomes
* List item 1
* List item 2 that's very
* very very very long
from wraptocolumn.
The plugin needs some work on filetype-specific logic, which would help in a few of these areas. Some day I will add this. 😂
from wraptocolumn.
Should be fixed in 1.7.0, now published to the Plugins Marketplace.
We now ignore most comment-like symbols in Markdown and AsciiDoc files, except for list symbols. If we find a list symbol, we'll wrap the text around it like this:
- Imagine this is a long line and
the plugin has wrapped it.
from wraptocolumn.
Related Issues (20)
- Javadoc asterisk prefix characters removed on paragraph format. HOT 1
- Inconsistent text width using minimum raggedness algorithm HOT 1
- Expose functionality as View > Active Editor option to run in real time instead of just function invocation HOT 2
- Bug: PHP line following series of line comments becomes commented out HOT 2
- Invalid state: project settings exist but not loaded yet. The call may cause settings damage. HOT 2
- IDEA 2021.2 (Ultimate Edition) causing java.lang.ClassNotFoundException HOT 14
- SQL-style double-hyphen comments are not supported.
- WrapAction does not respect hard wrap setting HOT 13
- Check if a document is read-only before mutating
- Wrap TODOs in the format JetBrains syntax highlighting expects
- [Feature Request] Recognize Sphinx's `#:` HOT 1
- The ClassNotFoundException thing is going to happen again in 2021.3 HOT 7
- Wrap markdown and (markdown in) YAML
- [feature request] recognize //! used by top-level rustdoc comments
- Wrap text in blockquotes in markdown
- Wrong wrapping of markdown list items at higher levels
- Markdown blockquote syntax is incorrectly wrapped
- Define multiple line lengths in settings and cycle through them with multiple hotkey presses
- Wrap paragraph to column breaks when adjacent to a JS spread
- Version 1.8.0 is not listed as a GitHub release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wraptocolumn.