@exception, @throws and code hinting |
|
If the @throws or @exceptions are not supported, how do others document exceptions with phpdoc?
|
||||||||||||
|
Site Admin
|
PhpED does support all phpdock things that are helpful with code completion.
I'm not sure how @exception or @throws would be helpful |
||||||||||||
_________________ The PHP IDE team |
|
Mmmm.. It would be nice to know the type of exception that might be thrown, or that a method is going to throw an exception. If I did code level error checking via booleans (-1,0,1), I can set an @return and know what my return state can be. Without knowing whether a method is going or could throw an exception it leaves the developer open to unchecked exceptions (yes, I know those can be handled).
It would be nice to know while coding that a method is carrying an exception without having to read through @description or some other documentation. |
||||||||||||
|
Site Admin
|
Yes, it is useful to know if a method can throw an exception. I'll check if we can show this info in Code Explorer
|
||||||||||||
_________________ The PHP IDE team |
|
Looks like the latest release is handling @throws. Good show nusphere, thanks. Have not had the chance to download it yet, but read release notes.
|
||||||||||||
|
Site Admin
|
sure, it shows @throws now
|
||||||||||||
_________________ The PHP IDE team |
@exception, @throws and code hinting |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by