Comments (18)
Got an identical error, but on line 487 of docblockr-worker.js.
from docblockr.
@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.
@ilanbiala @tnbeatty Commit 3e68d29 should fix this. Will close this for now, let me know if this repeats
from docblockr.
Got the error again, this time on line 562, running v0.5.7.
from docblockr.
@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.
@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:
from docblockr.
@nikhilkalige any thoughts on the error?
from docblockr.
@ilanbiala Sorry.. havent looked at it.. college.. lots of work :(
from docblockr.
Pull request has fix
from docblockr.
@nikhilkalige take a look at #28 please.
from docblockr.
@nikhilkalige is this going to be fixed?
from docblockr.
With latest atom and docblocker version seems already resolved. Can you confirm there's no more problem about this plz ?
from docblockr.
still an issue for me.
from docblockr.
/**
* 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.
I get an error when I try to wrap a multiline decorated comment. That case isn't handled.
from docblockr.
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.
This seems like a pretty big issue - still experiencing it.
from docblockr.
Fixed by #222. Released with version v0.8.7
.
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.