Replace Obsolete Comment Marker Quick Fix

Replaces the obsolete 'Rem' comment marker token with a single quote character.

This quick-fix is available for the ObsoleteCommentSyntax inspection

Applicability

This quick-fix can be applied as a single operation at the following scopes:
  • Procedure
  • Module
  • Project

Examples

 This example depicts the state of module(s) before and after applying the quick-fix.

Before
Module1 (Any)
Option Explicit Public Sub DoSomething() Rem some comment... End Sub
After
Module1 (Any)
Option Explicit Public Sub DoSomething() ' some comment... End Sub

Rubberduck.CodeAnalysis.QuickFixes.Concrete.ReplaceObsoleteCommentMarkerQuickFix.cs (Prerelease-v2.5.2.6174)