nikhilkalige / docblockr

DocBlockr is a package for Atom which is designed to make writing documentation faster and easier.
MIT License
405 stars 93 forks source link

0.6.3 is semi-borked #56

Closed Nxt3 closed 9 years ago

Nxt3 commented 9 years ago

I'm on Atom v0.181.0 and I just updated docblockr to 0.6.2 and now nothing works. Tried restarting Atom, my computer--and even uninstalling and reinstalling the package.

0.6.3 has stuff working; however, functionality isn't the same as it was pre-0.6.2. See my comments below. Anything from javadoc'ing to just commenting seems to add an unnecessary newline.

pesho commented 9 years ago

0.6.2 is broken for me as well. Reverting to 0.5.8 helps.

Nxt3 commented 9 years ago

0.6.3 fixes stuff, mostly.

If it type //TODO misc then insert a new line, instead of looking like this (pre-0.6.2): //TODO misc //cursor here

it looks like this: //TODO misc // //cursor here

AdamVig commented 9 years ago

+1

malko commented 9 years ago

seems fixed now can you please confirm it's ok for you with latest version of docblocker

AdamVig commented 9 years ago

Adding a docblock (type /** then enter) on a JavaScript function still adds an unnecessary newline.

nikhilkalige commented 9 years ago

AdamVig Did you try with v0.7.2 ? Can you post an example?

/**
 * [asdf description]
 * @author nickf
 * @date        2015-05-23
 * @anotherdate 2015-05-23T21:33:40-070
 * @version     [version]
 * @param       {[type]}                xxxx [description]
 */
function asdf(xxxx) {
  // body...
}

This is what I get

AdamVig commented 9 years ago

@NikhilKalige I restarted Atom and it works fine now 😏My apologies. Great work on the patch!

nikhilkalige commented 9 years ago

Credits to @malko