This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 194875 - try/catch clever code completion
Summary: try/catch clever code completion
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2011-01-30 16:25 UTC by RiaD
Modified: 2013-07-01 11:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RiaD 2011-01-30 16:25:18 UTC
I think that in after catch NetBeans should suggest only Exception - extendeds classnames and shouldn't print :: after it


Actual result:
catch(E
[EmptyIterator]
[Exception]
[ErrorException]

Expected Result:
[Exception]
[ErrorException]

Actual result
catch(Exc[choouse Exception here]
->
catch(Exception::

Expected result:
catch(Exc[choouse Exception here]
->
catch(Exception
Comment 1 OndrejBrejla 2011-04-04 13:13:57 UTC
The second part with :: seems to work properly in RC1.
Comment 2 RiaD 2011-05-24 15:55:51 UTC
(In reply to comment #1)
> The second part with :: seems to work properly in RC1.

Works in 7.0
Comment 3 Ondrej Brejla 2011-08-24 15:58:18 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/9b47a2834a4c
Comment 4 Quality Engineering 2011-08-25 13:59:49 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/9b47a2834a4c
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #194875 - try/catch clever code completion