Comments (10)
Currently arrow function does not work.
If you can't wait my update, patches are very welcome.
from vim-jsdoc.
Okay, thank you heavenshell. I'll take a look at it this weekend, but I'm not sure that I'll have time to commit a patch. I just wanted to add feature request, but I didn't know how to add the enhancement label. Thanks for all of your work. You're a hero!
from vim-jsdoc.
@csaroff
Try https://github.com/heavenshell/vim-jsdoc/tree/feature_arrow_function branch.
let g:jsdoc_enable_es6 = 1
/**
* foo
*
* @param {number} arg1
* @param {number} arg2
* @return {undefined}
*/
const foo = (arg1, arg2) => true;
/**
* f
*
* @param {number} arg1
* @return {undefined}
*/
const f = arg1 => true;
I'm not familar to ES6. So please send me feed back if you have any problem.
from vim-jsdoc.
New branch works perfect for me
from vim-jsdoc.
Thanks. π
from vim-jsdoc.
Note
From ver 0.5.0, g:jsdoc_allow_shorthand
will be deprecated.
Use let g:jsdoc_enable_es6 == 1
instead.
from vim-jsdoc.
Looks awesome man. Thank you sooo much!
from vim-jsdoc.
@csaroff
Thx, I'll merge to master.
from vim-jsdoc.
Merged.
from vim-jsdoc.
I just realized that this feature breaks shorthand methods option. I opened #38
from vim-jsdoc.
Related Issues (20)
- Does not work on multi lines parameters HOT 1
- yarn.lock changes prevent vim-plug from updating vim-jsdoc HOT 1
- δΈζ―ηΌθΎε¨ηε½δ»€: commentstring< comments< HOT 3
- No @return in JS HOT 2
- E1208: -complete used without allowing arguments HOT 1
- JsDoc is not an editor command for filetype=javascriptreact/typescriptreact HOT 4
- Support for updating existing JSDoc comments? HOT 12
- Multiline function definitions don't work HOT 2
- E492: Not an editor command: JsDoc HOT 13
- TypeScript inputs configuration HOT 13
- Return Type Includes Arrorw with Flow and Arrow Functions HOT 4
- Error thrown for some functions HOT 1
- nullable @member syntax issue HOT 1
- jsdoc.vim v2.0.0 HOT 3
- windows offer HOT 1
- Unknown function: job_start HOT 3
- Any plan on supporting neovim? HOT 1
- How to use the interactive mode in 2.0.0? HOT 6
- Autodetect filetype and formatter HOT 5
- Does not work with async functions HOT 2
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 vim-jsdoc.