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 258480 - "Fix Name To" hint not needed in global namespace
Summary: "Fix Name To" hint not needed in global namespace
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-22 10:44 UTC by Tomas Mysik
Modified: 2016-04-28 05:19 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 Tomas Mysik 2016-03-22 10:44:05 UTC
"Fix Name To" hint changes:

$x = date();

to:

$x = \date();

even if the file contains only the global namespace. That is not necessary and the hint should be avoided in such a case.
Comment 1 OldBasilBear 2016-03-22 11:23:28 UTC
Tomas - glad to see that you have been able to identify the cause of this.
Can you please identify which hint controls this?, because the issue is present with ALL hints disabled, even after a re-start. Thanks.
Comment 2 Tomas Mysik 2016-03-22 12:18:10 UTC
(In reply to OldBasilBear from comment #1)
> Can you please identify which hint controls this?

Unfortunately it seems that this hint cannot be disabled in the Hints UI, sorry.
Comment 3 Tomas Mysik 2016-04-26 15:56:01 UTC
Should be fixed now, please verify if possible. Thanks.

http://hg.netbeans.org/web-main/rev/2bc2e6c20b88
Comment 4 Tomas Mysik 2016-04-26 17:08:49 UTC
I was too fast, sorry. Better fix needs to be done.
Comment 5 Tomas Mysik 2016-04-26 17:25:19 UTC
Should be fixed now, please verify if possible. Thanks.

http://hg.netbeans.org/web-main/rev/3448ea8604e3
Comment 6 Tomas Mysik 2016-04-27 10:01:42 UTC
For verification, please wait for an automatic comment that will appear here saying in which daily build the fix (both fixes in this case) will be available. Or, download the NetBeans ZIP file directly from our build job [1]. Then, if this problem does not exist anymore, change status of this issue to VERIFIED FIXED.

Thanks.
[1] http://deadlock.netbeans.org/job/web-main/
Comment 7 Quality Engineering 2016-04-28 02:02:36 UTC
Integrated into 'main-silver', will be available in build *201604280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2bc2e6c20b88
User: Tomas Mysik <tmysik@netbeans.org>
Log: #258480 - "Fix Name To" hint not needed in global namespace
Comment 8 Tomas Mysik 2016-04-28 05:19:10 UTC
(In reply to Quality Engineering from comment #7)
> Integrated into 'main-silver', will be available in build *201604280002* on
> http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
> 
> Changeset: http://hg.netbeans.org/main-silver/rev/2bc2e6c20b88
> User: Tomas Mysik <tmysik@netbeans.org>
> Log: #258480 - "Fix Name To" hint not needed in global namespace

Please, wait for another similar message, mentioning the second, proper fix. Thanks.