Skip to content

Commit

Permalink
Merge pull request #63 from sharwell/resource-string
Browse files Browse the repository at this point in the history
Move the DOC900 code fix message to RefactoringResources
  • Loading branch information
sharwell authored Sep 22, 2018
2 parents 621b78b + 3795913 commit 378ccf9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
continue;
}

string description = "Render documentation as Markdown";
context.RegisterCodeFix(
CodeAction.Create(
description,
RefactoringResources.DOC900CodeFix,
cancellationToken => CreateChangedDocumentAsync(context, documentationCommentTriviaSyntax, cancellationToken),
nameof(DOC900CodeFixProvider)),
diagnostic);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="DOC900CodeFix" xml:space="preserve">
<value>Render documentation as Markdown</value>
</data>
<data name="DOC900Description" xml:space="preserve">
<value>Render documentation as Markdown (Refactoring)</value>
</data>
Expand Down

0 comments on commit 378ccf9

Please sign in to comment.