|
286 | 286 | "messages", |
287 | 287 | "verbose" |
288 | 288 | ], |
| 289 | + "enumDescriptions": [ |
| 290 | + "No traces are emitted.", |
| 291 | + "Brief traces are emitted for each request sent and each response received.", |
| 292 | + "Verbose traces are emitted for each request sent and each response received, including the message content." |
| 293 | + ], |
289 | 294 | "default": "off", |
290 | | - "description": "Traces the communication between VSCode and the Ada language server." |
| 295 | + "description": "Instructs the VS Code language client to log the communication with the Ada language server in the VS Code output window 'Ada Language Server'." |
291 | 296 | }, |
292 | 297 | "gpr.trace.server": { |
293 | 298 | "scope": "window", |
|
297 | 302 | "messages", |
298 | 303 | "verbose" |
299 | 304 | ], |
| 305 | + "enumDescriptions": [ |
| 306 | + "No traces are emitted.", |
| 307 | + "Brief traces are emitted for each request sent and each response received.", |
| 308 | + "Verbose traces are emitted for each request sent and each response received, including the message content." |
| 309 | + ], |
300 | 310 | "default": "off", |
301 | | - "description": "Traces the communication between VSCode and the GPR language server." |
| 311 | + "description": "Instructs the VS Code language client to log the communication with the GPR language server in the VS Code output window 'GPR Language Server'." |
302 | 312 | }, |
303 | 313 | "ada.projectFile": { |
304 | 314 | "scope": "window", |
305 | 315 | "type": "string", |
306 | 316 | "default": "", |
307 | | - "description": "Project file (*.gpr) for given workspace." |
| 317 | + "description": "GPR project file (*.gpr) for this workspace.\n\nIt is recommended to set this to a relative path starting at the root of the workspace." |
308 | 318 | }, |
309 | 319 | "ada.scenarioVariables": { |
310 | 320 | "scope": "window", |
311 | 321 | "type": "object", |
312 | 322 | "default": {}, |
313 | | - "description": "Scenario variables." |
| 323 | + "description": "Scenario variables to apply to the GPR project file.\n\nThis value should be provided as an object where the property names are GPR scenario variables and the values are strings.", |
| 324 | + "patternProperties": { |
| 325 | + ".*": { |
| 326 | + "type": "string" |
| 327 | + } |
| 328 | + } |
314 | 329 | }, |
315 | 330 | "ada.defaultCharset": { |
316 | 331 | "scope": "window", |
317 | 332 | "type": "string", |
318 | 333 | "default": "iso-8859-1", |
319 | | - "description": "The character set to use while reading files from disk." |
| 334 | + "description": "The character set that the Ada Language Server should use when reading files from disk." |
320 | 335 | }, |
321 | 336 | "ada.documentationStyle": { |
322 | 337 | "scope": "window", |
|
330 | 345 | "Documentation for the entities extracted from the comments before the entity declaration." |
331 | 346 | ], |
332 | 347 | "default": "gnat", |
333 | | - "description": "Controls primary documentation style of entities." |
| 348 | + "description": "Controls the primary documentation style of entities." |
334 | 349 | }, |
335 | 350 | "ada.displayMethodAncestryOnNavigation": { |
336 | 351 | "scope": "window", |
|
354 | 369 | "scope": "window", |
355 | 370 | "type": "boolean", |
356 | 371 | "default": true, |
357 | | - "description": "The emission of diagnostics." |
| 372 | + "description": "Controls whether or not the Ada Language Server should emit diagnostics into the VS Code Problems view." |
358 | 373 | }, |
359 | 374 | "ada.enableIndexing": { |
360 | 375 | "scope": "window", |
361 | 376 | "type": "boolean", |
362 | 377 | "default": true, |
363 | | - "description": "Controls indexing the source files after loading a project." |
| 378 | + "description": "Controls whether the Ada Language Server should index the source files immediately after loading a project.\n\nIf set to false, indexing will be deferred to the time when an action requiring the index is first performed, e.g. hovering over a referenced entity to get its documentation." |
364 | 379 | }, |
365 | 380 | "ada.foldComments": { |
366 | 381 | "scope": "window", |
367 | 382 | "type": "boolean", |
368 | 383 | "default": true, |
369 | | - "description": "Controls the inclusion of comments in folding blocks." |
| 384 | + "description": "Controls whether comments should be folded like code blocks." |
370 | 385 | }, |
371 | 386 | "ada.followSymlinks": { |
372 | 387 | "scope": "window", |
373 | 388 | "type": "boolean", |
374 | 389 | "default": true, |
375 | | - "description": "Controls the file names normalization sent by a client." |
| 390 | + "description": "Controls the Ada Language Server normalizes the file paths received from the client." |
376 | 391 | }, |
377 | 392 | "ada.namedNotationThreshold": { |
378 | 393 | "scope": "window", |
379 | 394 | "type": "integer", |
380 | 395 | "default": 3, |
381 | | - "description": "Defines the number of parameters/components at which point named notation is used for completion snippets." |
| 396 | + "description": "Defines the number of parameters/components beyond which named notation is used for completion snippets." |
382 | 397 | }, |
383 | 398 | "ada.relocateBuildTree": { |
384 | 399 | "scope": "window", |
385 | 400 | "type": "string", |
386 | 401 | "default": "", |
387 | | - "description": "The folder for out-of-tree build." |
| 402 | + "description": "The folder for out-of-tree build.", |
| 403 | + "markdownDescription": "The path to a directory used for out-of-tree builds. This feature is related to the [--relocate-build-tree GPRbuild command line switch](https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/building_with_gprbuild.html#switches)." |
388 | 404 | }, |
389 | 405 | "ada.rootDir": { |
390 | 406 | "scope": "window", |
391 | 407 | "type": "string", |
392 | 408 | "default": "", |
393 | | - "description": "The root directory for artifacts for proper relocation. Used with relocateBuildTree." |
| 409 | + "markdownDescription": "This setting must be used in conjunction with the `relocateBuildTree` setting.\n\nIt specifies the root directory for artifact relocation. It corresponds to the [--root-dir GPRbuild command line switch](https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/building_with_gprbuild.html#switches)." |
394 | 410 | }, |
395 | 411 | "ada.useCompletionSnippets": { |
396 | 412 | "scope": "window", |
397 | 413 | "type": "boolean", |
398 | 414 | "default": false, |
399 | | - "description": "Enable snippets in completion results (e.g: subprogram calls)." |
| 415 | + "description": "Enable snippets in completion results (e.g. subprogram calls)." |
400 | 416 | }, |
401 | 417 | "ada.renameInComments": { |
402 | 418 | "scope": "window", |
403 | 419 | "type": "boolean", |
404 | 420 | "default": false, |
405 | | - "description": "Enable editing Ada comments while executing `textDocument/rename` request." |
| 421 | + "description": "Enable editing Ada comments to update references to an entity when it is being renamed." |
406 | 422 | }, |
407 | 423 | "ada.onTypeFormatting.indentOnly": { |
408 | 424 | "scope": "window", |
409 | 425 | "type": "boolean", |
410 | 426 | "default": true, |
411 | | - "description": "Controls if the `textDocument/onTypeFormatting` request only indents a new line, or if it additionally tries to format the previous node." |
| 427 | + "markdownDescription": "If the VS Code `editor.formatOnType` setting is enabled, the Ada Language Server will format Ada code while it is being typed in the editor, in particular when a new line is typed.\n\nThis setting controls whether formatting should only perform the indentation of the new line (true) or also format the previous line (false)." |
412 | 428 | } |
413 | 429 | } |
414 | 430 | } |
|
0 commit comments