Wikunia / brackets-FuncDocr

FuncDocr generates JS/PHPDoc annotations for your functions
101 stars 14 forks source link

Comments in a function #56

Closed adricorse closed 9 years ago

adricorse commented 9 years ago

Hello (again ;) ), when you are in function, you can't use "/*" to write a comment IF there is another function (defined or not by phpdoc) AND below it AND the comment is before a function, check it : oops

Wikunia commented 9 years ago

That looks so strange :D Thanks for the issue. I really can't explain this at the moment :/

Wikunia commented 9 years ago

Would be nice if you can check v0.8.23 (Install from URL)

adricorse commented 9 years ago

Yes, it works ! But, I forgot to say, instead of "$var = b();" you put "b();" like :

<?php
function a(){
b();
}

function b(){
}
?>

there will be the same problem.. :(

Wikunia commented 9 years ago

Ahh that was in my mind but I forgot to check it. I'm sorry

Wikunia commented 9 years ago

Thanks for the issue and thanks for testing ;) Can you try the newest v.0.8.23 (no change in version :) ) Again via "Install from Url" Thanks!

adricorse commented 9 years ago

Nice ! :) But ... (sorry ...) Same issue with functions php, like :

<?php
if(isset($a,$b)){
}
?>

result, with only using the shortcut (work fine with /* ):

<?php
/**
 * [[Description]]
 * @param [[Type]] isset($a) [[Description]]
 */
if(isset($a)){
}
?>
Wikunia commented 9 years ago

I really hope it works now :D thank you so much for all your issues and updates!

adricorse commented 9 years ago

You forgot "switch" ;) (but it also work with "/*" and shotcut)

switch($far){
}
Wikunia commented 9 years ago

Damn :D

Wikunia commented 9 years ago

I've updated the list :)

adricorse commented 9 years ago

Good Job ! It works fine ! :)

Wikunia commented 9 years ago

Really that's it? No other bugs at the moment? :D Thanks for your work, I really appreciated it!

adricorse commented 9 years ago

Ahah, yeah, I haven't found other mistake :)