Giter VIP home page Giter VIP logo

Comments (9)

jcredland avatar jcredland commented on August 26, 2024

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.

stkb avatar stkb commented on August 26, 2024

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.

stkb avatar stkb commented on August 26, 2024

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.

jcredland avatar jcredland commented on August 26, 2024

I'm working in C++ files.

from rewrap.

stkb avatar stkb commented on August 26, 2024

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.

jcredland avatar jcredland commented on August 26, 2024

from rewrap.

jcredland avatar jcredland commented on August 26, 2024

from rewrap.

stkb avatar stkb commented on August 26, 2024

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.

stkb avatar stkb commented on August 26, 2024

Thanks for the updated review :) Glad it's now working.

from rewrap.

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.