Commit graph

22 commits

Author SHA1 Message Date
benedikt willi
759eee776f Added support for other function definitions 2014-03-27 10:35:33 +01:00
benedikt willi
a5bd28fcde Updated functionExpressionRegex to match values of type someObject.someFunction = function(p1, p2) 2014-03-26 17:13:22 +01:00
benedikt willi
2d6bbeb643 Added missing semicolon 2014-03-26 16:01:45 +01:00
benedikt willi
4aba6f3146 readd linebreaks 2014-03-26 15:50:18 +01:00
Andres Jorquera
6e9ce60e02 Change to use REGEX. Added return feature.
Change to using regular expressions to give more flexibility.
Added feature: It gives a @returns {type} Description to the JSDocs
2014-03-26 05:27:39 +00:00
Jeff Olson
1ef4d579a8 Added newline characters before prefixes and at end (output was previously all on a single line) 2014-02-15 12:46:19 -06:00
robso86
bb1b7ffbe0 Support for functions added to prototype 2014-02-12 10:27:59 +00:00
claudiojs
f260710478 Update main.js
Does not add a newline after the comment.
Implements @mbaez suggestion:
https://github.com/davidderaedt/annotate-extension/issues/7#issuecomment-29003760
2014-02-11 15:57:13 +01:00
Semigradsky
899a9d9299 Fix bug 'Lost $ character' 2014-01-09 12:15:59 +03:00
Semigradsky
027b33acb9 Fix bug 'JSDoc Annotation in one row' 2014-01-08 15:29:26 +03:00
Maximiliano Báez González
806248d2a4 Solve the issue "no functions found" in expressions like { functionName : function(){ ..} } and this.fn = function(){} 2013-11-21 14:44:56 -03:00
dderaedt
7252a013c2 Modified default keybinding, again 2013-07-19 10:15:00 +02:00
dderaedt
2b9e408116 Reformated code 2013-07-19 10:02:56 +02:00
dderaedt
094e077ecd Modified default key binding 2013-07-19 09:57:35 +02:00
dderaedt
a455646ed2 Fixed issue with function expressions and removed newline 2012-10-08 10:31:32 +02:00
dderaedt
57b8c2cb47 discard 2012-10-08 10:06:10 +02:00
Raja Kapur
6fa22d87c9 Added Ctrl/Cmd+Shift+D keyboard shortcut
D for "Doc"
2012-10-07 14:45:02 -03:00
Raja Kapur
8527e4d8ff Added support for php functions and whitespaces
Previously the cursor could not be in the middle of the line or the extension would error out saying function not found.

The getTarget() function now checks from the start of the line, and generateComment() now prefixes the comment block with the same whitespace spaces or tabs as the function def line used
2012-10-07 14:27:01 -03:00
dderaedt
f2aa61ca57 Added support for function expressions 2012-09-24 10:06:31 +02:00
dderaedt
a8cea6ad80 Fixed Issue #1 (cursor's line is overwritten by annotation) 2012-09-21 11:06:04 +02:00
dderaedt
6ed990c451 updated for brackets sprint10 2012-06-22 12:06:39 +02:00
david deraedt
ae10bdcb0f First commit 2012-06-13 18:12:30 +02:00