Code Monkey home page Code Monkey logo

Comments (3)

Wulf avatar Wulf commented on June 19, 2024 1

hey @vicero, this sounds like a good idea -- would love a PR. Here are some notes which may help:

Your example inspired these two suggestions:

  • if there is only 1 comment for a field / interface, we should use a one-liner /** ..comment.. */
  • if there is more than 1 comment for a field / interface, we should use a multi-line jsdoc:
    /**
    * comment 1
    * comment 2
    * ...comment N
    */
    

And regarding spaces / tabs for comments:

  • we don't use modules or namespaces for the output, so you can always assume no indentation for interface lines, and 2-space indentation for field lines. Feel free to change the way we do spacing -- the suggestion for using 2-spaces for field line comments comes from here.

Oh and about testing, here's a note from the README:
Use ./test/test_all.sh to run tests. After running the test, there should be no unexpected changes to files in ./test (use git status and git diff to see if there were any changes).

from tsync.

Wulf avatar Wulf commented on June 19, 2024

@vicero thanks for the PR, just published 1.3.0 which should have your changes!

from tsync.

vicero avatar vicero commented on June 19, 2024

@vicero thanks for the PR, just published 1.3.0 which should have your changes!

@Wulf Thank you so much!

from tsync.

Related Issues (13)

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.