From 37b3f9a1fd09087313feac6b510e7610815a6e20 Mon Sep 17 00:00:00 2001 From: jogo- Date: Wed, 26 May 2021 21:10:23 +0200 Subject: Fix typos (#233) --- src/DoxygenCompletionItemProvider.ts | 12 ++++++------ src/util.ts | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/DoxygenCompletionItemProvider.ts b/src/DoxygenCompletionItemProvider.ts index 160158c..660fa14 100644 --- a/src/DoxygenCompletionItemProvider.ts +++ b/src/DoxygenCompletionItemProvider.ts @@ -13,9 +13,9 @@ export default class DoxygenCompletionItemProvider implements vscode.CompletionI ["a", "${1:word}", "Display `` in italics"], ["arg", "${1:item-description}", "Generate a simple, non-nested list of arguments"], ["b", "${1:word}", "Display `` in bold"], - ["c", "${1:word}", "Dispaly `` using a typewriter font"], - ["code", ".${1:language-id}\n${2:code}\n@endcode", "Starts a block of code"], // TODO: match end block symbol with trigger character - ["copydoc", "${1:link-object}", "Copy a documentation block from the object specified by `` and paste it at the location of the command. The link object can point to a member (of a class, file or group), a class, a namespace, a group, a page, or a file. If the memeber if overloaded, you should specify the argument types explicitly"], + ["c", "${1:word}", "Display `` using a typewriter font"], + ["code", "${1:language-id}\n${2:code}\n@endcode", "Starts a block of code"], // TODO: match end block symbol with trigger character + ["copydoc", "${1:link-object}", "Copy a documentation block from the object specified by `` and paste it at the location of the command. The link object can point to a member (of a class, file or group), a class, a namespace, a group, a page, or a file. If the member is overloaded, you should specify the argument types explicitly"], ["copybrief", "${1:link-object}", "Work in a similar way as `@copydoc` but will only copy the brief description, not the detailed documentation"], ["copydetails", "${1:link-object}", "Work in a similar way as `@copydoc` but will only copy the detailed documentation, not the brief description"], ["docbookonly", "$1\n@enddocbookonly", "Start a block of text that only will be verbatim included in the generated DocBook documentation and tagged with `` in the generated XML output"], @@ -55,7 +55,7 @@ export default class DoxygenCompletionItemProvider implements vscode.CompletionI ["endcond", "", "Ends a conditional section that was started by `@cond`."], ["endif", "", "Ends a conditional section that was started by `@if` or `@ifnot` For each `@if` or `@ifnot` one and only one matching `@endif` must follow."], ["exception", "${1:exception-object} ${2:exception description}", "Starts an exception description for an exception object with name ``. Followed by a description of the exception. The existence of the exception object is not checked. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent @exception commands will be joined into a single paragraph. Each exception description will start on a new line. The `@exception` description ends when a blank line or some other sectioning command is encountered"], - ["if", "${1:section-label}\n$2\n@endif", "Starts a conditional documentation section. The section ends with a matching `@endif` command. A conditional section is disabled by default. To enable it you must put the section-label after the ENABLED_SECTIONS tag in the configuration file.The section label can be a logical expression build of section names, round brackets, && (AND), || (OR) and!(NOT).If you use an expression you need to wrap it in round brackets, i.e `@cond(!LABEL1 && LABEL2)`."], + ["if", "${1:section-label}\n$2\n@endif", "Starts a conditional documentation section. The section ends with a matching `@endif` command. A conditional section is disabled by default. To enable it you must put the section-label after the ENABLED_SECTIONS tag in the configuration file. The section label can be a logical expression build of section names, round brackets, && (AND), || (OR) and!(NOT). If you use an expression you need to wrap it in round brackets, i.e. `@cond(!LABEL1 && LABEL2)`."], ["ifnot", "${1:section-label}", "Starts a conditional documentation section. The section ends with a matching `@endif` command. This conditional section is enabled by default. To disable it you must put the section-label after the ENABLED_SECTIONS tag in the configuration file. The section label can be a logical expression build of section names, round brackets, && (AND), || (OR) and ! (NOT)."], ["invariant", "${1:description of invariant}", "Starts a paragraph where the invariant of an entity can be described. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent `@invariant` commands will be joined into a single paragraph. Each invariant description will start on a new line. Alternatively, one `@invariant` command may mention several invariants. The `@invariant` command ends when a blank line or some other sectioning command is encountered."], ["note", "${1:text}", "Starts a paragraph where a note can be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent `@note` commands will be joined into a single paragraph. Each note description will start on a new line. Alternatively, one `@note` command may mention several notes. The `@note` command ends when a blank line or some other sectioning command is encountered"], @@ -88,7 +88,7 @@ export default class DoxygenCompletionItemProvider implements vscode.CompletionI ["anchor", "${1:word}", "This command places an invisible, named anchor into the documentation to which you can refer with the `@ref` command."], ["cite", "${1:label}", "Adds a bibliographic reference in the text and in the list of bibliographic references. The `