CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Tue Apr 23, 2024 3:25 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Tooltip functions: Definition block is missing!
PostPosted: Fri Oct 09, 2015 10:04 pm 
Offline

Joined: Mon Feb 17, 2014 8:53 pm
Posts: 6
Hi,

first of all many thanks for this great IDE. You make my day; everyday :)
I have searched the forum but I haven't found any help for my question and I have tried a lot of different things, but without luck.

Let us have a look on an example function:

Code:
/**
* Resets a password
*
* @param   int  User ID
* @param   int  Should an eMail be sent to User?
*
* @return int  Password reset done
*/
function resetPassWord (, =false)
{
  ...
 
  return; 
}

resetPassWord();


If the mouse pointer is hovering over the function resetPassWord(), a tooltip is shown like this:


Quote:
int resetPassWord (int $userID, int $sendEMail)

Description
Resets a password

Parameters:
int $userID User ID
int $sendEMail Should an eMail be sent to User?

Return:
$isDone Password reset done


This is great and helps me a lot, but something is missing. At the tooltip above, you can't see, that parameter $sendEMail is optional.
Of course I can add this fact to the param comment. But:

If one is e.g. hovering over the PHP function sprintf -> the tooltip is showing everything above but additionally two blocks starting with Definition and Version.
Within the block Definition one can see, that mixed $args is optional.

I have added an PDF as attachement, where you can see it as snipping pictures!

What is the trick behind, to have this Definition block also with my functions.

I have tried all @... Parameters I have found in the world wide web (also PHPdoc) but it seems, I have not found the right one or it is not working by design.

Can you help?

Thanks a lot and kind regards

Robert


Attachments:
CodeLobsterToolTip.pdf [101.82 KiB]
Downloaded 2978 times
Top
 Profile  
 
 Post subject: Re: Tooltip functions: Definition block is missing!
PostPosted: Mon Oct 12, 2015 3:54 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3932
Hi.

1) Many thanks.
Yes, we will add parameters into tooltips into one of nearest versions.

2) "sprintf" is a standard PHP function, therefor it's tooltips work by another way.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Tooltip functions: Definition block is missing!
PostPosted: Sat Dec 19, 2015 9:05 pm 
Offline

Joined: Mon Feb 17, 2014 8:53 pm
Posts: 6
Hi,

many thanks for implementing the "definition block" into your new version. You made my day :D

I wish you and your team a merry christmas and a happy new year.

Kind regards and greetings from Germany, Ingolstadt (nearby Munich)

Robert


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 75 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group