| Summary: | Auto activation triggers for PHPDoc is not working | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Gadi Goldbarg <gadi> |
| Component: | PDT | Assignee: | Michael Spector <spektom> |
| Status: | CLOSED FIXED | QA Contact: | Yossi Luson <yossi.l> |
| Severity: | normal | ||
| Priority: | P3 | CC: | spektom |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Gadi Goldbarg
(In reply to comment #0) What completion suggestions do you expect to receive, when you press '#' in a PHPdoc section? use the following code
in the PHPDoc section set focus next to the '#' and do a Ctrl+spcae ( nothing
happens)
/**
* Enter description here...
*#
*/
function ArrayObject()
{
echo "nothing";
}
Yossi, can you advise here.. why are we allowing changes to Auto activation for PHPDoc if @ is the only char that has related elements for example changing the Auto activation char to # will not trigger any auto completion Auto-activation characters are not relevant anymore. Looks like its still relevant for PDT Auto activation characters is a directive for code assistant to show completion suitable to the CURRENT CONTEXT when specific character is typed. For example, if you have a '>' character in auto-activation characters set, AND you are typing this character, while the cursor is standing after the "$obj-", AND!!! $obj refers to the object which has something (methods, fields, etc...) - you'll get completion. Trying to get a completion from "#" while standing in a PHPDoc section is not a good idea - there's nothing to show! PHPDoc tags are starting only from "@" character. Since there's only one character that can be used as an activation trigger in PHPDoc (@) - this field will be disabled in the preference page. closed |