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.
Summary: | Go to type doesn't show types from javascript files | ||
---|---|---|---|
Product: | javascript | Reporter: | Petr Pisl <ppisl> |
Component: | Navigation | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, gtzabari, vriha |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Pisl
2012-10-15 14:38:50 UTC
Fixed in web-main http://hg.netbeans.org/web-main/rev/78e39ef9110b Integrated into 'main-golden', will be available in build *201210160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/78e39ef9110b User: Petr Pisl <ppisl@netbeans.org> Log: #220119 - Go to type doesn't show types from javascript files This doesn't work in 7.3 (netbeans-trunk-nightly-201211140001-php-macosx). Example Javascript code: var Person = function () {} /** * My method. * @return {String} */ Person.prototype.myMethod = function () { return doSomething(); }; Expected behavior: Select "Navigate->Go To Type..." from the menu and type "Pers" and see Person show up in the "Types Found:" list. Which is weird because "Person" does show up in "Quick search" (command+i) Reproducible, it offers something but not all. I notice that If you check "Case Sensitive", it starts to offer types like Person again. Almost like actual case sensitive setting is in contrast with what's being presented in the dialog Product Version: NetBeans IDE Dev (Build 201211140001) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15 System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb) Please update TARGET MILESTONE. I'm having a similar, but more detailed problem in Netbeans 201401150002. <code> var SeLiteData= {}; //namespace-like object .... SeLiteData.RecordSetFormula= function( params, prototype ) { ... }; </code> When I use 'Go to Type' and I type RecordSetFormula, it finds it well. But when I type SeLiteData.RecordSetFormula, it doesn't find it. Please, support both ways. Reproducible in: Product Version: NetBeans IDE Dev (Build 201406130001) Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev I improved and did a few fixes into Go to Type JS functionality. The described problems are now fixed in NB 8.1. |