summaryrefslogtreecommitdiffstats
path: root/src/DoxygenCompletionItemProvider.ts
diff options
context:
space:
mode:
authorHO-COOH <42881734+HO-COOH@users.noreply.github.com>2021-05-29 18:20:50 +0800
committerGitHub <noreply@github.com>2021-05-29 12:20:50 +0200
commitaa21a82e8b7dca30e3650d164c6fcb3bb495b17e (patch)
tree8feec05acebe434c31fad0ae44ba718e197b18d7 /src/DoxygenCompletionItemProvider.ts
parent638cfe09c56b8e75cf3dfa77652f51312766bd36 (diff)
downloaddoxdocgen-aa21a82e8b7dca30e3650d164c6fcb3bb495b17e.tar.gz
fix indent not expanded in file comments (#236)
Diffstat (limited to 'src/DoxygenCompletionItemProvider.ts')
-rw-r--r--src/DoxygenCompletionItemProvider.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DoxygenCompletionItemProvider.ts b/src/DoxygenCompletionItemProvider.ts
index 660fa14..bc54c93 100644
--- a/src/DoxygenCompletionItemProvider.ts
+++ b/src/DoxygenCompletionItemProvider.ts
@@ -14,7 +14,7 @@ export default class DoxygenCompletionItemProvider implements vscode.CompletionI
["arg", "${1:item-description}", "Generate a simple, non-nested list of arguments"],
["b", "${1:word}", "Display `<word>` in bold"],
["c", "${1:word}", "Display `<word>` 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
+ ["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 `<link-object>` 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"],