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

Code completion does not work in functions declared inside methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.2, 9.0, 10.0, 11.0, 12.0
    • 12.1
    • php - Editor
    • 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

            junichi11 Junichi Yamamoto
            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