https://bugs.kde.org/show_bug.cgi?id=387044

            Bug ID: 387044
           Summary: Don't complete class methods if "echo" is in added
                    before
           Product: kdevelop
           Version: 5.2.0
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Code completion
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: laurentiusil...@gmail.com
  Target Milestone: ---

Created attachment 108926
  --> https://bugs.kde.org/attachment.cgi?id=108926&action=edit
Example

In a PHP project opened with KDevelop, there are two files:

    1. classes.php - which contains below code:
    <?php
        class KDevelop_Test{
                public $variable_1="variable_1";
                public $variable_2="variable_2";
                public function Method_1(){
                        return "method_1";
                }
                public function Method_2(){
                        return "method_2";
                }
        }
    ?>

   2. test_bench.php - which contains:
   <?php
        $test=new KDevelop_Test();
   ?>

   If in the second file, I added the next row:
       $test->
   the autocomplete is displayed with all public methods and variable from
KDevelop_Test class. But if "echo" is added before $test->, the autocomplete
after $test-> is not displayed and in my opinion this is an issue. Thanks a
lot!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to