This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 164149 - Selected default description when creating a php doc block
Summary: Selected default description when creating a php doc block
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: PHPDoc (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-30 09:14 UTC by djungowski
Modified: 2016-09-22 04:01 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description djungowski 2009-04-30 09:14:05 UTC
When I create a php doc block, i get something like this:
/**
 *
 * @param <type> $key
 * @param <type> $get_array
 * @param <type> $encoding 
 */


What would be great if it could look like this:
/**
 * Enter description here...
 *
 * @param <type> $key
 * @param <type> $get_array
 * @param <type> $encoding 
 */

with the "Enter description here..." text selected by default so i can immediately start typing
Comment 1 jeremyclarke 2009-07-31 19:10:13 UTC
+1 for this idea. 

I think the real solution is to make the entire PHPDoc thing work more like a code template with elements to be filled
in by pressing tab and enter like with 'forek'. 

In code template syntax that would make the example above be formatted as:

/**
 * ${condition}
 *
 * @param ${type} $key
 * @param ${type} $get_array
 * @param ${type} $encoding 
 */
${cursor}

That said I think the proposal in this ticket is rock-solid on its own and if its easier than mine I support it.
Comment 2 Tomasz Slota 2010-02-10 08:46:24 UTC
reassigning to default owner
Comment 3 Filip Zamboj 2010-09-15 12:28:54 UTC
batch reassigning