-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (142 loc) · 4.67 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (142 loc) · 4.67 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "vscode-pclint-plus",
"displayName": "PC-Lint Plus",
"description": "VS Code extension for running PC-Lint Plus and displaying results in Problems panel",
"version": "1.2.3",
"publisher": "PritamJagtap",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/pvjagtap/PCPlintPlus_VSCode_Extension.git"
},
"bugs": {
"url": "https://github.com/pvjagtap/PCPlintPlus_VSCode_Extension/issues"
},
"homepage": "https://github.com/pvjagtap/PCPlintPlus_VSCode_Extension#readme",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Linters"
],
"icon": "images/logo.png",
"activationEvents": [
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-pclint-plus.lintCurrentFile",
"title": "PC-Lint Plus: Lint Current File"
},
{
"command": "vscode-pclint-plus.lintWorkspace",
"title": "PC-Lint Plus: Lint Workspace"
},
{
"command": "vscode-pclint-plus.clearDiagnostics",
"title": "PC-Lint Plus: Clear Diagnostics"
}
],
"configuration": {
"title": "PC-Lint Plus",
"properties": {
"pclintplus.executablePath": {
"type": "string",
"description": "Path to the PC-Lint Plus executable",
"scope": "resource"
},
"pclintplus.filePatterns": {
"type": "array",
"default": [
"**/*.c",
"**/*.h"
],
"description": "File patterns to include when linting workspace"
},
"pclintplus.excludePatterns": {
"type": "array",
"default": [
"**/node_modules/**",
"**/build/**",
"**/out/**"
],
"description": "File patterns to exclude when linting workspace"
},
"pclintplus.configFiles": {
"type": "array",
"description": "List of PC-Lint configuration files",
"default": [
"${workspaceFolder}/cfg/pclint_plus/co-tasking.lnt",
"${workspaceFolder}/cfg/pclint_plus/base.lnt",
"${workspaceFolder}/cfg/pclint_plus/au-misra3.lnt",
"${workspaceFolder}/cfg/pclint_plus/options.lnt",
"${workspaceFolder}/cfg/pclint_plus/env-xml.lnt",
"${workspaceFolder}/cfg/pclint_plus/tricore.lnt"
],
"scope": "resource"
},
"pclintplus.preprocessorDefinitions": {
"type": "array",
"description": "Preprocessor definitions for linting",
"default": [],
"scope": "resource"
},
"pclintplus.additionalArgs": {
"type": "array",
"description": "Additional arguments for PC-Lint Plus",
"default": ["-b", "-width(240,4)"],
"scope": "resource"
},
"pclintplus.verbosity": {
"type": "string",
"enum": ["verbose", "normal", "quiet"],
"default": "normal",
"description": "Controls the amount of output displayed in the console"
},
"pclintplus.compilerIncludePath": {
"type": "string",
"default": "C:\\TASKING\\TriCore v6.3r1\\ctc\\include",
"description": "Path to compiler-specific include files"
},
"pclintplus.outputFormat": {
"type": "string",
"enum": ["text", "xml"],
"default": "xml",
"description": "Output format for PC-Lint Plus (text or XML)"
},
"pclintplus.autoLintOnSave": {
"type": "boolean",
"default": false,
"description": "Automatically lint files on save"
},
"pclintplus.useTemporaryConfigFile": {
"type": "boolean",
"default": true,
"description": "Use a temporary configuration file for include paths and preprocessor definitions to avoid command line length issues"
},
"pclintplus.includePaths": {
"type": "array",
"default": [
"${workspaceFolder}/src/",
"${workspaceFolder}/input/"
],
"description": "Additional include paths for PC-Lint Plus"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^14.0.0",
"@types/vscode": "^1.60.0",
"typescript": "^4.4.0"
}
}