Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action |
Executes QuickFix or ContextAction. Returns post-execute method.
|
Method | Description | |
---|---|---|
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 |
public AddMissingTokenQuickFix ( MissingTokenHighlighting highlighting ) : System | ||
highlighting | MissingTokenHighlighting | The associated missing token highlighting. |
return | System |
protected ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action |
||
solution | ISolution | |
progress | IProgressIndicator | |
return | Action |
public IsAvailable ( IUserDataHolder cache ) : bool | ||
cache | IUserDataHolder | |
return | bool |