Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4503

Code completion does not work in functions declared inside methods

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2, 9.0, 10.0, 11.0, 12.0
    • Fix Version/s: 12.1
    • Component/s: php - Editor
    • Labels:
      None

      Description

      Example:

      <?php
      
      class Test
      {    
          private function testMethod()
          {
              function testFunction()
              {
                  $e = new Exception();
                  $e->; // will not work
              }
          }
      }
      

      code completion will not work, but go to declaration still working fine

       

      maybe this could be fixed like this NETBEANS-2992

        Attachments

          Activity

            People

            • Assignee:
              junichi11 Junichi Yamamoto
              Reporter:
              sl_ef_user SL EF
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h