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 250376 - Cannot refactor parameter's type in @typedef
Summary: Cannot refactor parameter's type in @typedef
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 15:42 UTC by Vladimir Riha
Modified: 2015-05-29 02:59 UTC (History)
0 users

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 Vladimir Riha 2015-02-11 15:42:23 UTC
Please try following:


/**
 * @typedef   SomeWidget
 * @type      {object}
 * @property  {String} keyField
 *            Key field for property
 * @property  {String} [label]
 *            Label to add to select widget
 * @property  {(String|function|Array.<String>)} dataSource
 *            Source for option elements, may be: ...
 */

/**
 * @typedef   AnotherOne
 * @type      {DefClass}
 * @property  {SomeWidget} yet
 */




=> mark occurrences or Rename->Refactor does not work for "SomeWidget"


Thank you


Product Version: NetBeans IDE Dev (Build web-main-1920-on-20150211)
Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-05-28 08:43:41 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2015-05-29 02:59:14 UTC
Integrated into 'main-silver', will be available in build *201505290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/15b28f556ab1
User: Petr Pisl <ppisl@netbeans.org>
Log: #250376 - Cannot refactor parameter's type in @typedef