Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 164149 - Selected default description when creating a php doc block
Selected default description when creating a php doc block
Status: NEW
Product: php
Classification: Unclassified
Component: PHPDoc
6.x
All All
: P3 with 2 votes (vote)
: TBD
Assigned To: Ondrej Brejla
issues@php
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo