| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| #=============================================================================# |
| # Copyright (c) 2005, 2019 Stephan Wahlbrink and others. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License 2.0 which is available at |
| # https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 |
| # which is available at https://www.apache.org/licenses/LICENSE-2.0. |
| # |
| # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 |
| # |
| # Contributors: |
| # Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation |
| #=============================================================================# |
| --> |
| |
| <templates> |
| |
| <!-- R --> |
| |
| <template id="org.eclipse.statet.r.templates.RCode_NewRScriptFile" |
| context="r_NewRScriptFile_context" |
| name="r_NewRScriptFile" |
| description="%R_NewRScriptFile_description" |
| ># ${todo}: %R_NewRScriptFile_content2 |
| # |
| # %R_NewRScriptFile_content3 ${author_name} |
| ############################################################################### |
| |
| |
| ${selection_begin} |
| </template> |
| |
| <template id="org.eclipse.statet.r.templates.RRoxygen_FunctionComment" |
| context="roxygen_CommonFunctionDef_context" |
| name="roxygen_CommonFunctionDef" |
| description="%Roxygen_CommonFunctionDef_description" |
| >#' ${selection_begin} |
| #' ${param_tags} |
| #' @returnType |
| #' @return |
| #' |
| #' @author ${author_name} |
| #' @export |
| </template> |
| |
| <template id="org.eclipse.statet.r.templates.RRoxygen_ClassComment" |
| context="roxygen_ClassDef_context" |
| name="roxygen_S4ClassDef" |
| description="%Roxygen_S4ClassDef_description" |
| >#' ${selection_begin} |
| #' ${slot_tags} |
| #' |
| #' @author ${author_name} |
| #' @export |
| </template> |
| |
| <template id="org.eclipse.statet.r.templates.RRoxygen_MethodComment" |
| context="roxygen_MethodDef_context" |
| name="roxygen_S4MethodDef" |
| description="%Roxygen_S4MethodDef_description" |
| >#' ${selection_begin} |
| #' @name ${element_name} |
| #' @alias ${element_name},${sig_list}-method |
| #' |
| #' ${param_tags} |
| #' @returnType |
| #' @return |
| #' |
| #' @author ${author_name} |
| #' @docType methods |
| #' @export |
| </template> |
| |
| <!-- Rd --> |
| |
| <template id="org.eclipse.statet.r.templates.Rd_NewRDocFile" |
| context="rd_NewRDocFile_context" |
| name="rd_NewRDocFile" |
| description="%Rd_NewRDocFile_description" |
| >%Rd_C |
| %Rd_C ${todo}: %Rd_NewRDocFile_content2 |
| %Rd_C |
| |
| ${selection_begin} |
| </template> |
| |
| <!-- RPkg --> |
| |
| <template id="org.eclipse.statet.r.templates.RPkg_NewDescriptionFile" |
| context="RPkg_NewDescriptionFile" |
| name="RPkg_NewDescriptionFile" |
| description="%RPkg_NewDescriptionFile_description" |
| >Package: ${r_pkg_name} |
| Type: Package |
| Version: 0.1-0 |
| Date: ${:date('yyyy-MM-dd')} |
| Title: ${selection_begin} |
| Author: ${r_pkg_author} |
| Maintainer: ${r_pkg_maintainer} |
| Description: |
| License: |
| </template> |
| |
| <template id="org.eclipse.statet.r.templates.RPkg_NewNamespaceFile" |
| context="RPkg_NewNamespaceFile" |
| name="RPkg_NewNamespaceFile" |
| description="%RPkg_NewNamespaceFile_description" |
| >exportPattern("^[[:alpha:]]+") |
| </template> |
| |
| </templates> |