-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 4.34 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 4.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "code-re2c",
"version": "0.5.1",
"displayName": "Code re2c",
"description": "Linting and syntax highlighting for re2c",
"publisher": "deimonn",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/deimonn/code-re2c"
},
"icon": "assets/icon.png",
"keywords": [
"re2c", "c", "cpp", "c++",
"re2d", "d",
"re2go", "go",
"re2hs", "hs", "haskell",
"re2java", "java",
"re2js", "js", "javascript",
"re2ocaml", "ocaml",
"re2py", "py", "python",
"re2rust", "rs", "rust",
"re2swift", "swift",
"re2v", "v",
"re2zig", "zig",
"lex", "lexer", "generator"
],
"extensionKind": [
"workspace"
],
"engines": {
"vscode": "^1.78.0"
},
"categories": [
"Programming Languages"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"title": "re2c",
"properties": {
"code-re2c.re2c.path": {
"type": "string",
"scope": "machine-overridable",
"description": "Name or path to the re2c binary.",
"default": "re2c",
"order": 1
},
"code-re2c.re2c.arguments": {
"type": "array",
"items": {
"type": "string"
},
"scope": "machine-overridable",
"description": "Additional arguments to pass to the re2c binary; e.g. to enable warnings.",
"default": ["-W"],
"order": 2
},
"code-re2c.re2c.ignore": {
"type": "array",
"items": {
"type": "string"
},
"scope": "machine-overridable",
"description": "Files matching these globs will be ignored by this extension.",
"default": [],
"order": 3
},
"code-re2c.re2c.detect": {
"type": "array",
"items": {
"type": "string"
},
"scope": "machine-overridable",
"description": "Files matching these globs will participate in re2c language detection.",
"default": ["**/*.re"],
"order": 4
},
"code-re2c.re2c.defaultLanguageId": {
"type": ["string", "null"],
"scope": "machine-overridable",
"description": "Language to assume by default for re2c files that fail language detection.",
"default": null,
"order": 5
},
"code-re2c.re2c.customLanguageId": {
"type": ["string", "null"],
"scope": "machine-overridable",
"description": "Language to assume for re2c files with the `--lang none` flag.",
"default": null,
"order": 6
}
}
},
"grammars": [
{
"scopeName": "source.re2c",
"path": "./syntaxes/re2c.tmLanguage.json",
"injectTo": [
"source.c",
"source.cpp",
"source.d",
"source.go",
"source.haskell",
"source.java",
"source.js",
"source.ocaml",
"source.python",
"source.rust",
"source.swift",
"source.v",
"source.zig"
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"dependencies": {
"minimatch": "^10.0.1"
},
"devDependencies": {
"@types/node": "22.x",
"@types/vscode": "^1.78.0",
"@vscode/vsce": "^3.2.1",
"ovsx": "^0.10.1",
"typescript": "^5.7.3"
}
}