blob: 5db4a4f989e16212aa4abada369dfb1fb97efefd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
#=============================================================================#
# Copyright (c) 2005, 2017 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 ${user}
###############################################################################
${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 ${user}
#' @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 ${user}
#' @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 ${user}
#' @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>
</templates>