Comments (8)
Docblockr already has a few configurations to change the output style and all of them are error-prone, because this configurations have to be considered in many places.
But customizing the output is a heavily requested feature. Currently these issues request a more specific but similar functionality:
We should think about how to realize these customizations without introducing too many special cases.
from docblockr.
I personally prefer this:
/**
* @function [function name]
*
* @brief [brief description]
* @detail [detailed descr]
*
* @param {type} {name} [descr]
* "..."
* @return {type} [descr]
*
* @pre [precondition]
* @post [postcondition]
*
* @author [name]
* @email [email]
*/
So I hope you see my desire to customise the output.
from docblockr.
I would also like to customise the output, although I rather want to have less info, in contrast to @awesomefireduck.
from docblockr.
It would also be nice to be able to customize the tag format.
We use Sphinx, which uses the following format:
/**
* Brief description.
*
* Longer description.
*
* :param parameterA: Parameter description.
* :param parameterB: Parameter description.
*
* :returns: Description of return value.
*/
@return
can already be customized, but @param
and others can't be.
Also, customizing the "trigger" (/**
) would be nice. We have an internal tool, which actually uses /*!
.
from docblockr.
We write coffeescript and use codo as doc generator, it would be nice to be able to customize the form of comments. Replace the *
with #
# Given a obj and a nested keyname, return the value
# Safe from errors
# @param {Object} obj
# @param {String} key
# @return by default is undefined
getVal = (obj, key) ->
unless obj then return obj
keyAttr = key.split('.')
val = obj
for k in keyAttr
if val and val.hasOwnProperty(k)
val = val[k]
else
return undefined
val
from docblockr.
I no longer use Atom, so this isn't an issue for me.
Good luck with this!
from docblockr.
I still use it with dockblockr and would appreciate this feature.
from docblockr.
#223 is also relevant to this
from docblockr.
Related Issues (20)
- Not generating type information for Typescript HOT 1
- working with multi-cursor HOT 1
- 请修复ATOM中不能使用逗号的问题 HOT 10
- ///, //!, and // not extending to new line HOT 3
- Uncaught TypeError: self.event.abortKeyBinding is not a function
- Uncaught TypeError: Cannot read property 'getCursors' of null
- PHP class variables HOT 1
- Enhancement: Add support to remove/undo multiline comment blocks HOT 2
- Request of improvement: customised text width when wrapping comments HOT 1
- Request of improvement: When pasting multiple lines, also prepend them with comment chars HOT 1
- Cannot seem to figure out how to get the spacing right… HOT 1
- Suggestion: Add option to indent items with tabs instead of spaces HOT 2
- Use `@type` for getter values, not `@returns`
- Decorate does nothing HOT 6
- When a function has an object param HOT 1
- Rustdoc support doesn't seem to be working HOT 1
- Create docs without description [FeatureRequest] HOT 1
- Do not continue comments after newline! HOT 1
- per-project Configuration file HOT 1
- Replace type by parameter name (C++) 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 docblockr.