https://bugs.kde.org/show_bug.cgi?id=305778 Bug ID: 305778 Severity: normal Version: 4.3.1 Priority: NOR Assignee: kdevelop-bugs@kdevelop.org Summary: PHP: Fully support use statements and aliases Classification: Unclassified OS: Linux Reporter: audvare@gmail.com Hardware: Other Status: UNCONFIRMED Component: Language Support: PHP Product: kdevelop Currently, use statements are supported in that the syntax is not ignored or counted as invalid, but the full name of the class is not used when typing within the code. This means auto-completion never works. Also, aliases are very much not supported. Again the syntax is, but using the alias results in the string being referenced as a class name being unknown (its full original class name is not considered from the use statement above). Reproducible: Always Steps to Reproduce: 1. Code: // B.php namespace A; class B { public function C() {} } // C.php use A\B; $b = new B(); // unknown type 2. `$b->(ctrl+space)` only displays Kate's autocomplete options Actual Results: Unknown types, no auto-completion. Expected Results: Should detect the use statement (with or without alias) and use the full class name to determine auto-completions. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs