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: | Closures autocomplete is not working | ||
---|---|---|---|
Product: | php | Reporter: | Doglexx |
Component: | Editor | Assignee: | junichi11 |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chrizzly, dylanv, junichi11, TheTechFan, tmysik |
Priority: | P3 | ||
Version: | Dev | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
step 1
step 2 step 3 |
Description
Doglexx
2016-11-04 12:22:48 UTC
Created attachment 164053 [details]
step 1
Created attachment 164054 [details]
step 2
Created attachment 164055 [details]
step 3
With regards to the previous three screenshots, see this thread around this problem as discussed in the netbeans php slack channel: https://netbeans.slack.com/archives/C2SJG5PRR/p1491738149384714 (In reply to dylanv from comment #4) > With regards to the previous three screenshots, see this thread around this > problem as discussed in the netbeans php slack channel: > > https://netbeans.slack.com/archives/C2SJG5PRR/p1491738149384714 You should always write/attach exact information(your steps, screenshots, sample code/project, e.t.c.) to the issue. Because information in the slack may be deleted, and all people cannot look at it soon. Sample code: <?php class AutoPopup { public static function test(string $string, callable $callable) { } public function something() { } } class Anon { public function test() { AutoPopup::test('test', function(AutoPopup $test) { $test- // type ">" }); } } This occurs in a method. (doesn't occur in a function) Steps to reproduce: 1. Type ">" after the $test- 2. A popup window for CC is shown (Auto Popup) 3. There is no method However, if CC is run after it is typed(i.e. $test->[Ctrl] + [Space]), members are shown. I'll look at it. Thanks. Fixed. Please try to test it if possible. Probably, it will be available tomorrow or later. http://hg.netbeans.org/web-main/rev/e5d87f8b8d86 Thanks. Integrated into 'main-silver', will be available in build *201704110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e5d87f8b8d86 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #268825 - Closures autocomplete is not working *** Bug 246211 has been marked as a duplicate of this bug. *** |