Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,12 @@
"description": "%c_cpp.configuration.doxygen.generateOnType.description%",
"scope": "resource"
},
"C_Cpp.doxygen.generateOnCodeAction": {
"type": "boolean",
"default": true,
"description": "%c_cpp.configuration.doxygen.generateOnCodeAction.description%",
"scope": "resource"
},
"C_Cpp.doxygen.generatedStyle": {
"type": "string",
"enum": [
Expand Down
1 change: 1 addition & 0 deletions Extension/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@
]
},
"c_cpp.configuration.doxygen.generateOnType.description": "Controls whether to automatically insert the Doxygen comment after typing the chosen comment style.",
"c_cpp.configuration.doxygen.generateOnCodeAction.description": "Controls whether the code action to generate a Doxygen comment is enabled.",
"c_cpp.configuration.doxygen.generatedStyle.description": "The string of characters used as the starting line of the Doxygen comment.",
"c_cpp.configuration.doxygen.sectionTags.description": "Select the Doxygen section tags that you would like to appear on hover in the tooltip area when the 'Simplify Structured Comments' setting is enabled. ",
"c_cpp.configuration.commentContinuationPatterns.items.anyof.string.markdownDescription": {
Expand Down
1 change: 1 addition & 0 deletions Extension/src/LanguageServer/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,7 @@ export class DefaultClient implements Client {
vcFormatSpaceAroundTernaryOperator: settings.vcFormatSpaceAroundTernaryOperator,
vcFormatWrapPreserveBlocks: settings.vcFormatWrapPreserveBlocks,
doxygenGenerateOnType: settings.doxygenGenerateOnType,
doxygenGenerateOnCodeAction: settings.doxygenGenerateOnCodeAction,
doxygenGeneratedStyle: settings.doxygenGeneratedCommentStyle,
doxygenSectionTags: settings.doxygenSectionTags,
filesExclude: otherSettings.filesExclude,
Expand Down
2 changes: 2 additions & 0 deletions Extension/src/LanguageServer/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export interface WorkspaceFolderSettingsParams {
vcFormatSpaceAroundTernaryOperator: string;
vcFormatWrapPreserveBlocks: string;
doxygenGenerateOnType: boolean;
doxygenGenerateOnCodeAction: boolean;
doxygenGeneratedStyle: string;
doxygenSectionTags: string[];
filesExclude: Excludes;
Expand Down Expand Up @@ -383,6 +384,7 @@ export class CppSettings extends Settings {
public get simplifyStructuredComments(): boolean { return this.getAsBoolean("simplifyStructuredComments"); }
public get doxygenGeneratedCommentStyle(): string { return this.getAsString("doxygen.generatedStyle"); }
public get doxygenGenerateOnType(): boolean { return this.getAsBoolean("doxygen.generateOnType"); }
public get doxygenGenerateOnCodeAction(): boolean { return this.getAsBoolean("doxygen.generateOnCodeAction"); }
public get commentContinuationPatterns(): (string | CommentPattern)[] {
const value: any = super.Section.get<any>("commentContinuationPatterns");
if (this.isArrayOfCommentContinuationPatterns(value)) {
Expand Down
Loading