chore(vscode): update to 1.56.0
This commit is contained in:
@ -10,6 +10,8 @@ updateGrammar.update('jeff-hykin/cpp-textmate-grammar', 'syntaxes/c.tmLanguage.j
|
||||
updateGrammar.update('jeff-hykin/cpp-textmate-grammar', 'syntaxes/cpp.tmLanguage.json', './syntaxes/cpp.tmLanguage.json', undefined, 'master', 'source/languages/cpp/');
|
||||
updateGrammar.update('jeff-hykin/cpp-textmate-grammar', 'syntaxes/cpp.embedded.macro.tmLanguage.json', './syntaxes/cpp.embedded.macro.tmLanguage.json', undefined, 'master', 'source/languages/cpp/');
|
||||
|
||||
updateGrammar.update('NVIDIA/cuda-cpp-grammar', 'syntaxes/cuda-cpp.tmLanguage.json', './syntaxes/cuda-cpp.tmLanguage.json', undefined, 'master');
|
||||
|
||||
// `source.c.platform` which is still included by other grammars
|
||||
updateGrammar.update('textmate/c.tmbundle', 'Syntaxes/Platform.tmLanguage', './syntaxes/platform.tmLanguage.json');
|
||||
|
||||
|
@ -39,6 +39,19 @@
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "NVIDIA/cuda-cpp-grammar",
|
||||
"repositoryUrl": "https://github.com/NVIDIA/cuda-cpp-grammar",
|
||||
"commitHash": "81e88eaec5170aa8585736c63627c73e3589998c"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.0.0",
|
||||
"description": "The file syntaxes/cuda-cpp.tmLanguage.json was derived from https://github.com/jeff-hykin/cpp-textmate-grammar, which was derived from https://github.com/atom/language-c, which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
|
@ -23,6 +23,7 @@
|
||||
["'", "'"],
|
||||
["<", ">"]
|
||||
],
|
||||
"wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)",
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*#pragma\\s+region\\b",
|
||||
|
@ -50,6 +50,17 @@
|
||||
"cpp"
|
||||
],
|
||||
"configuration": "./language-configuration.json"
|
||||
},
|
||||
{
|
||||
"id": "cuda-cpp",
|
||||
"extensions": [
|
||||
".cu",
|
||||
".cuh"
|
||||
],
|
||||
"aliases": [
|
||||
"CUDA C++"
|
||||
],
|
||||
"configuration": "./language-configuration.json"
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
@ -71,8 +82,35 @@
|
||||
{
|
||||
"scopeName": "source.c.platform",
|
||||
"path": "./syntaxes/platform.tmLanguage.json"
|
||||
},
|
||||
{
|
||||
"language": "cuda-cpp",
|
||||
"scopeName": "source.cuda-cpp",
|
||||
"path": "./syntaxes/cuda-cpp.tmLanguage.json"
|
||||
}
|
||||
],
|
||||
"problemPatterns": [
|
||||
{
|
||||
"name": "nvcc-location",
|
||||
"regexp": "^(.*)\\((\\d+)\\):\\s+(warning|error):\\s+(.*)",
|
||||
"kind": "location",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"severity": 3,
|
||||
"message": 4
|
||||
}
|
||||
],
|
||||
"problemMatchers": [
|
||||
{
|
||||
"name": "nvcc",
|
||||
"owner": "cuda-cpp",
|
||||
"fileLocation": [
|
||||
"relative",
|
||||
"${workspaceFolder}"
|
||||
],
|
||||
"pattern": "$nvcc-location"
|
||||
}
|
||||
],
|
||||
"snippets": [
|
||||
{
|
||||
"language": "c",
|
||||
|
19818
lib/vscode/extensions/cpp/syntaxes/cuda-cpp.tmLanguage.json
Normal file
19818
lib/vscode/extensions/cpp/syntaxes/cuda-cpp.tmLanguage.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user