C# Класс GammaJul.ReSharper.ForTea.Intentions.QuickFixes.AddMissingTokenQuickFix

Наследование: QuickFixBase
Показать файл Открыть проект

Открытые методы

Метод Описание
AddMissingTokenQuickFix ( MissingTokenHighlighting highlighting ) : System

Initializes a new instance of the AddMissingTokenQuickFix class.

IsAvailable ( IUserDataHolder cache ) : bool

Check if this action is available at the constructed context. Actions could store precalculated info in cache to share it between different actions

Защищенные методы

Метод Описание
ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action

Executes QuickFix or ContextAction. Returns post-execute method.

Приватные методы

Метод Описание
GetFixText ( MissingTokenType missingTokenType ) : string
GetMissingTextInfo ( MissingTokenType missingTokenType ) : TextInfo

Gets the text of the token to add.

GetMissingTextWithHotspotRange ( [ errorElement ) : TextRange>.Pair

Gets the text of the token to add, with additional spaces if needed.

IsWhitespaceAfter ( [ node ) : bool
IsWhitespaceBefore ( [ node ) : bool

Описание методов

AddMissingTokenQuickFix() публичный Метод

Initializes a new instance of the AddMissingTokenQuickFix class.
public AddMissingTokenQuickFix ( MissingTokenHighlighting highlighting ) : System
highlighting MissingTokenHighlighting The associated missing token highlighting.
Результат System

ExecutePsiTransaction() защищенный Метод

Executes QuickFix or ContextAction. Returns post-execute method.
protected ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action
solution ISolution
progress IProgressIndicator
Результат Action

IsAvailable() публичный Метод

Check if this action is available at the constructed context. Actions could store precalculated info in cache to share it between different actions
public IsAvailable ( IUserDataHolder cache ) : bool
cache IUserDataHolder
Результат bool