C# 클래스 GammaJul.ReSharper.ForTea.Intentions.QuickFixes.AddMissingTokenQuickFix

상속: QuickFixBase
파일 보기 프로젝트 열기: MrJul/ForTea

공개 메소드들

메소드 설명
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