A document generator for Function Expressions, Function Statements, Arrow Function Expressions, and Class Definitions.
It detects undocumented functions and class methods in your Javascript / Flow / React source code on the AST nodes at the compile stage. It collects passed parameters, return expressions, states for React code then it creates document template just above the functions.
CMD + Shift + P -> Create Docs
- ES6
- Presets of React
- Presets of Flow
- States ( only initialized in the constructor )
Feel free to open issues and PRs. You can look here for more details.
- Fork it (https://github.com/oyilmaztekin/vscode-undoc/fork)
- Create your branch (
git checkout -b fix/issue-id
) - Commit your changes (
git commit -am 'Fixed something...'
) - Push the branch (
git push origin fix/issue-id
) - Create a new Pull Request
- Cursor Interaction in the editor
- Currying functions