Code Monkey home page Code Monkey logo

Comments (18)

tnbeatty avatar tnbeatty commented on July 20, 2024

Got an identical error, but on line 487 of docblockr-worker.js.

from docblockr.

nikhilkalige avatar nikhilkalige commented on July 20, 2024

@tnbeatty I dont think you will get an error on line 487, as that line is an entirely different function, that will not be called for wrap lines. Please check and get back on this

from docblockr.

nikhilkalige avatar nikhilkalige commented on July 20, 2024

@ilanbiala @tnbeatty Commit 3e68d29 should fix this. Will close this for now, let me know if this repeats

from docblockr.

ilanbiala avatar ilanbiala commented on July 20, 2024

Got the error again, this time on line 562, running v0.5.7.

from docblockr.

nikhilkalige avatar nikhilkalige commented on July 20, 2024

@ilanbiala Can you please check against the new release and post the error message with an example.. it would help me solve it easier... Thank u

from docblockr.

ilanbiala avatar ilanbiala commented on July 20, 2024

@nikhilkalige tested against 0.5.8. Atom doesn't seem to report that Docblockr has an update, maybe you should also investigate that.

Here's a screenshot:

screenshot 2014-09-11 21 39 55

from docblockr.

ilanbiala avatar ilanbiala commented on July 20, 2024

@nikhilkalige any thoughts on the error?

from docblockr.

nikhilkalige avatar nikhilkalige commented on July 20, 2024

@ilanbiala Sorry.. havent looked at it.. college.. lots of work :(

from docblockr.

slowfwd avatar slowfwd commented on July 20, 2024

Pull request has fix

from docblockr.

ilanbiala avatar ilanbiala commented on July 20, 2024

@nikhilkalige take a look at #28 please.

from docblockr.

ilanbiala avatar ilanbiala commented on July 20, 2024

@nikhilkalige is this going to be fixed?

from docblockr.

malko avatar malko commented on July 20, 2024

With latest atom and docblocker version seems already resolved. Can you confirm there's no more problem about this plz ?

from docblockr.

ilanbiala avatar ilanbiala commented on July 20, 2024

still an issue for me.

from docblockr.

nikhilkalige avatar nikhilkalige commented on July 20, 2024
/**
 * Keeping packages up to date helps keep things speedy and breakage to a minimum. Upgrade often! Keeping packages up to date helps keep things speedy and breakage to a minimum. Upgrade often!
 * Keeping packages up to date helps keep things speedy and breakage to a minimum. Upgrade often! Keeping packages up to date helps keep things speedy and breakage to a minimum. Upgrade often!
 * Keeping packages up to date helps keep things speedy and breakage to a minimum. Upgrade often! Keeping packages up to date helps keep things speedy and breakage to a minimum. Upgrade often!
 */

Docblockr: Wrap Lines

/**
 * Keeping packages up to date helps keep things speedy and breakage to a
 * minimum. Upgrade often! Keeping packages up to date helps keep things
 * speedy and breakage to a minimum. Upgrade often! Keeping packages up to
 * date helps keep things speedy and breakage to a minimum. Upgrade often!
 * Keeping packages up to date helps keep things speedy and breakage to a
 * minimum. Upgrade often! Keeping packages up to date helps keep things
 * speedy and breakage to a minimum. Upgrade often! Keeping packages up to
 * date helps keep things speedy and breakage to a minimum. Upgrade often!
 */

Can you put up an example?

from docblockr.

ilanbiala avatar ilanbiala commented on July 20, 2024

I get an error when I try to wrap a multiline decorated comment. That case isn't handled.

from docblockr.

malko avatar malko commented on July 20, 2024

Ok confirmed on decorated comments here, started to work on this one not so trivial i'll have another look later.
For now i spotted some exp which need rework to get this working for multiline:

in docblockr-worker.js:
line 556:

_col = _text.search(/^\s*\*(\/)/);
// should become
_col = _text.search(/^\s*\*+(\/)/);

line 577 is not made to work with multiline comments either.

finally even getting the two previously mentioned ok it still need to reduce first and ending decoration line length which i had no time to get a look in.

will check again another time.

from docblockr.

jordwalke avatar jordwalke commented on July 20, 2024

This seems like a pretty big issue - still experiencing it.

from docblockr.

MoritzKn avatar MoritzKn commented on July 20, 2024

Fixed by #222. Released with version v0.8.7.

from docblockr.

Related Issues (20)

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.