From kdevelop-bugs Sat Aug 25 20:01:52 2012 From: Andrew Udvare Date: Sat, 25 Aug 2012 20:01:52 +0000 To: kdevelop-bugs Subject: [Bug 305778] New: PHP: Fully support use statements and aliases Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=134592501212702 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