Comments (9)
Currently the output when rewrapping this is:
/**
* Returns the number of samples that can be read, and a pointer where you
* can start reading the samples. Two calls may be necessary as the samples
* to be read might wrap around in memory.
*
* This call doesn't copy the samples to a new buffer so is more efficent
for
* some tasks, e.g. metering, where you just want to calculate a value from
* the available
*
* @returns the number of samples, per channel.
*/
The expected output is this:
/**
* Returns the number of samples that can be read, and a pointer where you
* can start reading the samples. Two calls may be necessary as the samples
* to be read might wrap around in memory.
*
* This call doesn't copy the samples to a new buffer so is more efficent
* for some tasks, e.g. metering, where you just want to calculate a value
* from the available data.
*
* @returns the number of samples, per channel.
*/
from rewrap.
What language / file extension are you using here? Currently that form only works in Dart, Java, JavaScript, PHP and TypeScript, where it's working fine for me. However since it's also often used in other C languages I was planning to add it to those in the next release.
from rewrap.
BTW thanks for the review for the Visual Studio version. Could you open another issue for the other problem you mentioned (indents increasing each time)?
from rewrap.
I'm working in C++ files.
from rewrap.
Thanks. I've published an update (1.5.2) that supports this in all c-style languages. It should work as expected now.
Just curious, what documentation tool do you use?
from rewrap.
from rewrap.
from rewrap.
Doxygen yeah thanks. I wasn't farmiliar with it but from a quick look at the docs it seems I'll need to do a couple of things to better support it. Firstly, it supports /*!
or //!
comment markers (I'll need to support them too). Also it seems you can use latex-style \tags as an alternative to @tags (currently only the latter is supported).
from rewrap.
Thanks for the updated review :) Glad it's now working.
from rewrap.
Related Issues (20)
- Bug: won't wrap lines that begin with `#` in Markdown files HOT 1
- Feature request: add option to use the first `"editor.rulers"` list element as the wrapping column instead of using the ` "rewrap.wrappingColumn"` setting HOT 3
- Thanks!
- Feature request: (Dart) preserve linter 'ignore:' lines
- Add support for Snowflake SQL.
- Wrapping in Nix is broken in a remote SSH host HOT 3
- Zig doc comments `///` are mangled
- Markdown tables are reformatted wrongly with `rewrap.onSave: true`
- Release 17.7 Pre-Release as main published version? HOT 3
- Unmaintained?
- Problem with empheq in in latex (using latex-workshop extension)
- Add Luau compatibility
- Git Commit Message Wraps lines at 50 characters instead of 72 HOT 5
- Unavailable on arm64
- `Typst` support
- GitHub action for building and testing no longer works
- Valid C++ comment delimiter not recognized prevents rewrap
- Won't wrap email text pasted in a Quarto listing (code fence) HOT 1
- Won't wrap Rust comments
- Standalone tool/binary? HOT 1
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 rewrap.