-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
New version 1.4 beta #40
Comments
Version 1.4 has now been published. If you had the beta installed you should uninstall it first (and reload) before redownloading from the marketplace. I'm having some problems publishing the Visual Studio version; hopefully they will be resolved soon. Changes since beta:
|
Visual Studio version is now published at https://marketplace.visualstudio.com/items?itemName=stkb.Rewrap-18980 (Current version 0.5) If you already have the beta installed, it should update automatically! Otherwise you can manually un/reinstall it. Apart from the above changes, the "Rewrap" settings pane is not a root category in Tools -> Options. |
Firstly apologies that this repo has been neglected the last couple of months and thanks for all issues and requests submitted. Apart from some other real life issues, I have been working on a new version of Rewrap.
The next version will support VSCode and Visual Studio (#36) together from the same new codebase.
Because of the large changes, I'm putting this version out as a beta first for testing.
The main change is that all comments are now parsed as Markdown*. Markdown is increasingly being used in documentation comments in various languages, and this adds support for bulleted/numbered lists (#28), as well as other features.
*(except .Net XmlDoc comments, which are parsed as xml)
But what if some parts of your comments are still getting messed up by Rewrap? (#29)
New setting:
wholeComment
: (true/false)This setting affects whether the whole comment is re-wrapped, when a cursor (empty selection) is inside it. With this set to
true
, the whole comment is wrapped. This is how Rewrap has behaved until now.However with
wholeComment
set tofalse
, only the containing paragraph is wrapped and the rest of the comment is left untouched.This is maybe how it should have worked from the beginning and so in the new Visual Studio extension I'm trying the default as
false
. However in vscode, the default will betrue
for consistency with previous versions, and users can set it to false if they wish.New setting:
tidyUpIndents
: (true/false) [Experimental]Turning on this experimental setting will tidy up paragraph indents when re-wrapping. For more information see here.
Like everything else, these settings are configurable on a per-language or project basis.
Other issues fixed in this version: #32, #33, #34, #37, #38
VSCode version
rewrap-1.4.0-beta1.zip
To install:
Visual Studio version
I haven't written a Visual Studio extension before and it's pretty involved, so this version is still rough around the edges, but the core functionality is the same. The main limitation at the moment, is the inability to set settings per language/document type. Also VS doesn't support multiple selections or rulers natively so I'm looking into options for that.
Versions supported are VS 2015 and 2017 (tested on community editions)
Rewrap.VS.0.1.zip
To install:
Using:
Thanks to all
The text was updated successfully, but these errors were encountered: