GithubHelp home page GithubHelp logo

Comments (6)

abrookins avatar abrookins commented on June 1, 2024

Interesting. Good point. I'll think about this!

from wraptocolumn.

cmeeren avatar cmeeren commented on June 1, 2024

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.

abrookins avatar abrookins commented on June 1, 2024

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.

cmeeren avatar cmeeren commented on June 1, 2024

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.

abrookins avatar abrookins commented on June 1, 2024

Ah, yeah, I see what you mean. So the missing features are:

  1. Wrap all lines in current comment without needing selection
  2. Wrap all comments in the current file

Something like that?

from wraptocolumn.

cmeeren avatar cmeeren commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.