| Summary: | phpdoc generation ignores templates | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Philip Taffner <sabel> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | gadi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
fixed in head mark as fixed Verified fixed. Kalin Yanev kalin.a@zend.com |
Build Identifier: 20100617-1415 I changed the template under Preferences->PHP->Code Style->Code Templates->Methods to: /** * ${cursor} * ${tags} */ Now I have the following simple Code (| is the cursor): class Test { | public function foo($bar, $baz){ } } When I type /** and hit return, it generates me two differents phpdoc code blocks (Ctrl+Shift+J has the same effect): 1) /** * | * Enter description here ... * @param unknown_type $bar * @param unknown_type $baz */ public function foo($bar, $baz){ } and sometimes: /** * | * Enter description here ... * @param $bar * @param $baz */ public function foo($bar, $baz){ } So first my template is ignored and second the result switches between those two possibilities. This issue affects ALL templates as far as I can tell. Fresh install and new workspace. Reproducible: Always