8000 Reformat/wrap multiple lines and add comment characters · Alexey-T CudaText · Discussion #5960 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reformat/wrap multiple lines and add comment characters #5960

Answered by Alexey-T
hastyeagle asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, possible:

  • install CudaExt plugin from @kvichans, restart app
  • select N lines
  • call from Command Palette: "Re-wrap/split lines by margin", enter e.g. 78 in the dialog for 'Margin'; ==> lines are re-wrapped (note - it rewraps lines only if text has many space separators)
  • now place multi-carets at line begins and type '# ' to comment

To place multi-carets, click on begin, then Ctrl+Shift+click on end point

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hastyeagle
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0