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 257406 - Guess type for new class member
Summary: Guess type for new class member
Status: NEW
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-01-05 07:32 UTC by pmaselkowski
Modified: 2016-06-02 12:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pmaselkowski 2016-01-05 07:32:54 UTC
When creating class member with predefined value, netbeans should autocomplete type:

Scenario:

	/**<press enter here>
	public $test = '';

Results in:

	/**
	 *
	 * @var type 
	 */
	public $test = '';

Expected:

	/**
	 *
	 * @var string
	 */
	public $test = '';

NetBeans IDE 8.1 (Build 201510222201)
Comment 1 Tomas Mysik 2016-06-02 12:50:51 UTC
Good idea, thanks for reporting.