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 248931 - Missing commonly used code templates
Summary: Missing commonly used code templates
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 15:37 UTC by Ondrej Brejla
Modified: 2014-12-04 04:18 UTC (History)
0 users

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 Ondrej Brejla 2014-11-26 15:37:44 UTC
Please, add these code templates ;) There is an indentation on a "blank" line between "{}" ;)

Abbrv: afun
Text:
function(${cursor}) {
    
}

Abbrev: afunn
Text:
function(${cursor}) {
    
};

Abbrev: it
Text:
it('${cursor}', function() {
    
});

Abbrev: des
Text:
describe('${cursor}', function() {
    
});

Abbrev: def
Text:
define([
    '${cursor}'
], function() {
    
});

Thanks!
Comment 1 Petr Pisl 2014-12-02 16:01:41 UTC
Should be available in the next web-main build or daily build.
Comment 2 Quality Engineering 2014-12-04 04:18:59 UTC
Integrated into 'main-silver', will be available in build *201412040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a2a144113f9d
User: Petr Pisl <ppisl@netbeans.org>
Log: #248931 - Missing commonly used code templates