| Summary: | Add choise for autocompleting namespace elements | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Zhongwei Zhao <zhaozhongwei> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gadi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Now we set the following style(Aliasing a class name) as default:
namespace mine
{
use com\example\Class;
class Example
{
public function __construct (Class $class)
{
;
}
}
}
but user can change this through preference page:PHP->Editor->Content Assist,then uncheck "Insert full qualified name for use statement" checkbox.
Verified at PDT-2.2.0.v20100517 After unchecked "Insert full qualified name for use statement" checkbox full name is not used at use statement Closing this issue... Verified by Teodor Kirkov teodor.k@zend.com |
Now when we use content assist to aotocomplete a class which belong to a namespace,then the code will be: namespace mine { use com\example; class Example { public function __construct (example\Class $class) { ; } } } But some users prefer: namespace mine { use com\example\Class; class Example { public function __construct (Class $class) { ; } } } So it is better to add options to let user choose what they prefer in the preference page.