Skip to content

Commit

Permalink
Merge pull request #11269 from diryboy/option
Browse files Browse the repository at this point in the history
Add missed code hooking up the option for /**/ comments
  • Loading branch information
Pilchie committed May 13, 2016
2 parents 1b72147 + 75c1bab commit 56eb18a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/VisualStudio/CSharp/Impl/Options/AutomationObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ public int AutoComment
set { SetBooleanOption(FeatureOnOffOptions.AutoXmlDocCommentGeneration, value); }
}

public int AutoInsertAsteriskForNewLinesOfBlockComments
{
get { return GetBooleanOption(FeatureOnOffOptions.AutoInsertBlockCommentStartString); }
set { SetBooleanOption(FeatureOnOffOptions.AutoInsertBlockCommentStartString, value); }
}

public int BringUpOnIdentifier
{
get { return GetBooleanOption(CompletionOptions.TriggerOnTypingLetters); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ private bool SupportsOnOffOption(IOption option)
option == FeatureOnOffOptions.KeywordHighlighting ||
option == FeatureOnOffOptions.FormatOnPaste ||
option == FeatureOnOffOptions.AutoXmlDocCommentGeneration ||
option == FeatureOnOffOptions.AutoInsertBlockCommentStartString ||
option == FeatureOnOffOptions.RefactoringVerification ||
option == FeatureOnOffOptions.RenameTracking ||
option == FeatureOnOffOptions.RenameTrackingPreview;
Expand Down

0 comments on commit 56eb18a

Please sign in to comment.