+2

R - folding multi-line comments

Suraj Gupta 12 år siden 0

It would be great if the R lexer could support folding multi-line comments in R.  This is particularly useful with function headers.  Ideally, when the comments are folded only the top-most line shows (i.e. the name of the function).  Here's an example of a function header using Roxygen-style documentation. 


#' Test Function

#' 

#' My test function description

#'

#' @param firstParam  first parameter description

#' @param secondParam second parameter description

#'

#' @return  what the function returns

#' @note some notes here

#' @author First Last

#' @importFrom plyr ddply

#' @export

TestFunction = function( ... )

{

} 

Kundesupport af UserEcho