Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define multiple line lengths in settings and cycle through them with multiple hotkey presses #56

Open
dagood opened this issue Aug 14, 2023 · 0 comments

Comments

@dagood
Copy link

dagood commented Aug 14, 2023

The situation I'm in is that I have code comments where some are wrapped to 100 columns and others are wrapped to 80 columns. Both lengths show up in the same project. I want to add some text to a comment and re-wrap it, but if my line length override isn't set up to match the comment I happen to be changing at that time, I can't do it using this plugin without going back to the settings. 🙁 I end up wrapping manually sometimes.

I'm used to the way VS Code plugin Rewrap handles this: https://stkb.github.io/Rewrap/configuration/#wrapping-column. There, I can define multiple "rulers" (right margins, or visual guides) and swap between them by pressing the wrap hotkey multiple times. Then it remembers the "current" margin for that file for the next time I press the hotkey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants