|
143 | 143 | "haskell": "runhaskell", |
144 | 144 | "nim": "nim compile --verbosity:0 --hints:off --run" |
145 | 145 | }, |
146 | | - "description": "Set the executor of each language." |
| 146 | + "description": "Set the executor of each language.", |
| 147 | + "scope": "resource" |
147 | 148 | }, |
148 | 149 | "code-runner.executorMapByFileExtension": { |
149 | 150 | "type": "object", |
|
168 | 169 | ".hs": "runhaskell", |
169 | 170 | ".nim": "nim compile --verbosity:0 --hints:off --run" |
170 | 171 | }, |
171 | | - "description": "Set the executor of each file extension." |
| 172 | + "description": "Set the executor of each file extension.", |
| 173 | + "scope": "resource" |
172 | 174 | }, |
173 | 175 | "code-runner.customCommand": { |
174 | 176 | "type": "string", |
175 | 177 | "default": "echo Hello", |
176 | | - "description": "Set the custom command to run." |
| 178 | + "description": "Set the custom command to run.", |
| 179 | + "scope": "resource" |
177 | 180 | }, |
178 | 181 | "code-runner.languageIdToFileExtensionMap": { |
179 | 182 | "type": "object", |
|
182 | 185 | "powershell": ".ps1", |
183 | 186 | "typescript": ".ts" |
184 | 187 | }, |
185 | | - "description": "Set the mapping of languageId to file extension." |
| 188 | + "description": "Set the mapping of languageId to file extension.", |
| 189 | + "scope": "resource" |
186 | 190 | }, |
187 | 191 | "code-runner.defaultLanguage": { |
188 | 192 | "type": "string", |
189 | 193 | "default": "", |
190 | | - "description": "Set the default language to run." |
| 194 | + "description": "Set the default language to run.", |
| 195 | + "scope": "resource" |
191 | 196 | }, |
192 | 197 | "code-runner.cwd": { |
193 | 198 | "type": "string", |
194 | 199 | "default": "", |
195 | | - "description": "Set the working directory." |
| 200 | + "description": "Set the working directory.", |
| 201 | + "scope": "resource" |
196 | 202 | }, |
197 | 203 | "code-runner.fileDirectoryAsCwd": { |
198 | 204 | "type": "boolean", |
199 | 205 | "default": false, |
200 | | - "description": "Whether to use the directory of the file to be executed as the working directory." |
| 206 | + "description": "Whether to use the directory of the file to be executed as the working directory.", |
| 207 | + "scope": "resource" |
201 | 208 | }, |
202 | 209 | "code-runner.clearPreviousOutput": { |
203 | 210 | "type": "boolean", |
204 | 211 | "default": false, |
205 | | - "description": "Whether to clear previous output before each run." |
| 212 | + "description": "Whether to clear previous output before each run.", |
| 213 | + "scope": "resource" |
206 | 214 | }, |
207 | 215 | "code-runner.saveAllFilesBeforeRun": { |
208 | 216 | "type": "boolean", |
209 | 217 | "default": false, |
210 | | - "description": "Whether to save all files before running." |
| 218 | + "description": "Whether to save all files before running.", |
| 219 | + "scope": "resource" |
211 | 220 | }, |
212 | 221 | "code-runner.saveFileBeforeRun": { |
213 | 222 | "type": "boolean", |
214 | 223 | "default": false, |
215 | | - "description": "Whether to save the current file before running." |
| 224 | + "description": "Whether to save the current file before running.", |
| 225 | + "scope": "resource" |
216 | 226 | }, |
217 | 227 | "code-runner.enableAppInsights": { |
218 | 228 | "type": "boolean", |
219 | 229 | "default": true, |
220 | | - "description": "Whether to enable AppInsights to track user telemetry data." |
| 230 | + "description": "Whether to enable AppInsights to track user telemetry data.", |
| 231 | + "scope": "resource" |
221 | 232 | }, |
222 | 233 | "code-runner.showExecutionMessage": { |
223 | 234 | "type": "boolean", |
224 | 235 | "default": true, |
225 | | - "description": "Whether to show extra execution message like [Running] ... and [Done] ..." |
| 236 | + "description": "Whether to show extra execution message like [Running] ... and [Done] ...", |
| 237 | + "scope": "resource" |
226 | 238 | }, |
227 | 239 | "code-runner.runInTerminal": { |
228 | 240 | "type": "boolean", |
229 | 241 | "default": false, |
230 | | - "description": "Whether to run code in Integrated Terminal." |
| 242 | + "description": "Whether to run code in Integrated Terminal.", |
| 243 | + "scope": "resource" |
231 | 244 | }, |
232 | 245 | "code-runner.terminalRoot": { |
233 | 246 | "type": "string", |
234 | 247 | "default": "", |
235 | | - "description": "For Windows system, replaces the Windows style drive letter in the command with a Unix style root when using a custom shell as the terminal, like Bash or Cgywin. Example: Setting this to '/mnt/' will replace 'C:\\path' with '/mnt/c/path'" |
| 248 | + "description": "For Windows system, replaces the Windows style drive letter in the command with a Unix style root when using a custom shell as the terminal, like Bash or Cgywin. Example: Setting this to '/mnt/' will replace 'C:\\path' with '/mnt/c/path'", |
| 249 | + "scope": "resource" |
236 | 250 | }, |
237 | 251 | "code-runner.preserveFocus": { |
238 | 252 | "type": "boolean", |
239 | 253 | "default": true, |
240 | | - "description": "Whether to preserve focus on code editor after code run is triggered." |
| 254 | + "description": "Whether to preserve focus on code editor after code run is triggered.", |
| 255 | + "scope": "resource" |
241 | 256 | }, |
242 | 257 | "code-runner.ignoreSelection": { |
243 | 258 | "type": "boolean", |
244 | 259 | "default": false, |
245 | | - "description": "Whether to ignore selection to always run entire file." |
| 260 | + "description": "Whether to ignore selection to always run entire file.", |
| 261 | + "scope": "resource" |
246 | 262 | }, |
247 | 263 | "code-runner.showRunIconInEditorTitleMenu": { |
248 | 264 | "type": "boolean", |
249 | 265 | "default": true, |
250 | | - "description": "Whether to show 'Run Code' icon in editor title menu." |
| 266 | + "description": "Whether to show 'Run Code' icon in editor title menu.", |
| 267 | + "scope": "resource" |
251 | 268 | }, |
252 | 269 | "code-runner.temporaryFileName": { |
253 | 270 | "type": "string", |
254 | 271 | "default": "tempCodeRunnerFile", |
255 | | - "description": "Temporary file name used in running selected code snippet. When it is set as empty, the file name will be random." |
| 272 | + "description": "Temporary file name used in running selected code snippet. When it is set as empty, the file name will be random.", |
| 273 | + "scope": "resource" |
256 | 274 | } |
257 | 275 | } |
258 | 276 | }, |
|
0 commit comments