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 271553 - No local variable type hinting
Summary: No local variable type hinting
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P1 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-29 08:46 UTC by antoniocs
Modified: 2017-09-29 08:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
showing issue (6.00 KB, image/png)
2017-09-29 08:46 UTC, antoniocs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antoniocs 2017-09-29 08:46:35 UTC
Created attachment 165206 [details]
showing issue

Hey,

I have the following code:

/* @var $newsEntity NewsPost */
$newsEntity = $content->getStructure()->getContext()->getContext();

When I try to have netbeans autocomplete $newEntity I get nothing because Netbeans still thinks this is a mixed variable.

I have attached an image showing the issue.

NOTE: I do have a use statement for Newspost and I also tried to use the full path of the type