Comments (6)
Interesting. Good point. I'll think about this!
from wraptocolumn.
I would like this, too. Specifically, I'd like the ability to run the tool for all paragraphs in the comment/"section" I'm in, and to run the tool for an entire file. (Maybe even also a whole solution.)
from wraptocolumn.
I experimented with this today after remembering that I had used the plugin to wrap multiple lines before. Try the Wrap Line to Column action. The default keyboard shortcut on Mac is Command + Control + Shift + W, but check the README for others. You can also select text and access the Intellij Command Palette, then type "Wrap" and select Wrap Line to Column.
This action is maybe not well-named -- it actually wraps all selected lines or the current line if none is selected. Give that a shot.
I just tested this with a Markdown file and a large comment block in Python, and it wrapped multiple lines decently.
from wraptocolumn.
Thanks. That's better, though a feature to wrap all lines in the current comment (no selection needed) would be better. Also, you can't use this for whole files (with code in between the comments).
from wraptocolumn.
Ah, yeah, I see what you mean. So the missing features are:
- Wrap all lines in current comment without needing selection
- Wrap all comments in the current file
Something like that?
from wraptocolumn.
Exactly. Or even better than the second one: wrap all comments in the current selection. Then it's easy to "select all" and do the entire file, but I could also select just part of the file, so it's more flexible.
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.