Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 130128 Details for
Bug 269204
JSDT should have an anonymous function template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Adds the template
patchFor269204 (text/plain), 1.75 KB, created by
Chris Jaun
on 2009-03-27 14:23:14 EDT
(
hide
)
Description:
Adds the template
Filename:
MIME Type:
Creator:
Chris Jaun
Created:
2009-03-27 14:23:14 EDT
Size:
1.75 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.jsdt.ui >Index: templates/default-templates.xml >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.ui/templates/default-templates.xml,v >retrieving revision 1.3 >diff -u -r1.3 default-templates.xml >--- templates/default-templates.xml 14 May 2008 15:33:50 -0000 1.3 >+++ templates/default-templates.xml 27 Mar 2009 18:23:23 -0000 >@@ -97,6 +97,10 @@ > ${cursor} > }</template> > >+<template name="function" description="%Templates.anonymous_public_method" id="org.eclipse.wst.jsdt.ui.templates.anonymous_public_method" context="javaScript" enabled="true" autoinsert="false">function (${}) { >+ ${cursor} >+}</template> >+ > <!-- > <template name="protected_method" description="%Templates.protected_method" id="org.eclipse.wst.jsdt.ui.templates.protected_method" context="javaScript" enabled="true" autoinsert="false">protected ${return_type} ${name}(${}) { > ${cursor} >Index: templates/default-templates.properties >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.ui/templates/default-templates.properties,v >retrieving revision 1.5 >diff -u -r1.5 default-templates.properties >--- templates/default-templates.properties 30 Dec 2008 01:29:18 -0000 1.5 >+++ templates/default-templates.properties 27 Mar 2009 18:23:23 -0000 >@@ -25,6 +25,7 @@ > Templates.catch=catch block > #Templates.main=main function > Templates.public_method=function >+Templates.anonymous_public_method=anonymous function > #Templates.protected_method=protected function > #Templates.private_method=private function > #Templates.private_static_method=private static function
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
thatnitind
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 269204
: 130128