Archived
1
0

Merge commit 'be3e8236086165e5e45a5a10783823874b3f3ebd' as 'lib/vscode'

This commit is contained in:
Joe Previte
2020-12-15 15:52:33 -07:00
4649 changed files with 1311795 additions and 0 deletions

View File

@ -0,0 +1,2 @@
test/**
cgmanifest.json

View File

@ -0,0 +1,17 @@
{
"registrations": [
{
"component": {
"type": "git",
"git": {
"name": "Ikuyadeu/vscode-R",
"repositoryUrl": "https://github.com/Ikuyadeu/vscode-R",
"commitHash": "e03ba9cb9b19412f48c73ea73deb6746d50bbf23"
}
},
"license": "MIT",
"version": "1.3.0"
}
],
"version": 1
}

View File

@ -0,0 +1,24 @@
{
"comments": {
"lineComment": "#"
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
{ "open": "\"", "close": "\"", "notIn": ["string"] },
{ "open": "'", "close": "'", "notIn": ["string"] }
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}

View File

@ -0,0 +1,25 @@
{
"name": "r",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": { "vscode": "*" },
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js Ikuyadeu/vscode-R syntax/r.json ./syntaxes/r.tmLanguage.json"
},
"contributes": {
"languages": [{
"id": "r",
"extensions": [ ".r", ".rhistory", ".rprofile", ".rt" ],
"aliases": [ "R", "r" ],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "r",
"scopeName": "source.r",
"path": "./syntaxes/r.tmLanguage.json"
}]
}
}

View File

@ -0,0 +1,4 @@
{
"displayName": "R Language Basics",
"description": "Provides syntax highlighting and bracket matching in R files."
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,24 @@
# © Microsoft. All rights reserved.
#' Add together two numbers.
#'
#' @param x A number.
#' @param y A number.
#' @return The sum of \code{x} and \code{y}.
#' @examples
#' add(1, 1)
#' add(10, 1)
add <- function(x, y) {
x + y
}
add(1, -2, 2.0)
add(1.0e10, 2.0e10)
paste("one", NULL)
paste(NA, 'two')
paste("multi-
line",
'multi-
line')

File diff suppressed because it is too large Load Diff