Method | Description | |
---|---|---|
CommitCompletionSession ( char typedCharacter ) : bool | ||
ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void |
Called when text buffer becomes visible in the text view. The buffer may not be a top-level buffer in the graph and may be projected into view.
|
|
Create ( ITextView textView, IList |
||
Detach ( ITextView textView ) : void | ||
DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void |
Called when text buffer becomes invisible in the text view. The buffer may not be a top-level buffer in the graph and may be projected into view. Typically called when document is closed or buffer is removed from the view buffer graph.
|
|
FromTextView ( ITextView textView ) : |
||
IsCommitChar ( char typedChar ) : bool |
Should this key commit a completion session?
|
|
IsMuteCharacter ( char typedCharacter ) : bool | ||
IsTriggerChar ( char typedCharacter ) : bool |
Should this key press trigger a completion session?
|
|
OnPostTypeChar ( char typedCharacter ) : void |
Called after character is typed. Gives language-specific completion controller has a chance to dismiss or initiate completion and paramenter help sessions depending on the current context.
|
|
OnPreTypeChar ( char typedCharacter ) : bool |
Called before character type is passed down to the core editor along the controll chain. Gives language-specific controller a chance to initiate different action and potentially 'eat' the character. For example, in R typing 'abc[TAB] should bring up intellisense list rather than actually insert the tab character.
|
|
TriggerSignatureHelp ( ) : void |
Overrides default session since we want to track signature as caret moves. Default signature session dismisses when caret changes position.
|
Method | Description | |
---|---|---|
CanDismissSignatureOnCommit ( ) : bool | ||
IsRetriggerChar ( ICompletionSession session, char typedCharacter ) : bool |
Determines if character is a re-trigger one. Re-trigger means 'commit and trigger again' such as when user hits $ that commits current session for the class/object and trigger it again for object members.
|
|
OnCompletionSessionCommitted ( object sender, |
||
UpdateInsertionText ( ) : void |
Updates insertion text so it excludes final commit character
|
Method | Description | |
---|---|---|
RCompletionController ( ITextView textView, IList |
||
TryInsertRoxygenBlock ( ) : bool |
protected CanDismissSignatureOnCommit ( ) : bool | ||
return | bool |
public CommitCompletionSession ( char typedCharacter ) : bool | ||
typedCharacter | char | |
return | bool |
public ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void | ||
subjectBuffer | ITextBuffer | |
return | void |
public static Create ( ITextView textView, IList |
||
textView | ITextView | |
subjectBuffers | IList |
|
completionBroker | ICompletionBroker | |
quickInfoBroker | IQuickInfoBroker | |
signatureBroker | ISignatureHelpBroker | |
shell | ICoreShell | |
return |
public DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void | ||
subjectBuffer | ITextBuffer | |
return | void |
public static FromTextView ( ITextView textView ) : |
||
textView | ITextView | |
return |
public IsCommitChar ( char typedChar ) : bool | ||
typedChar | char | |
return | bool |
public IsMuteCharacter ( char typedCharacter ) : bool | ||
typedCharacter | char | |
return | bool |
protected IsRetriggerChar ( ICompletionSession session, char typedCharacter ) : bool | ||
session | ICompletionSession | |
typedCharacter | char | |
return | bool |
public IsTriggerChar ( char typedCharacter ) : bool | ||
typedCharacter | char | |
return | bool |
protected OnCompletionSessionCommitted ( object sender, |
||
sender | object | |
eventArgs | ||
return | void |
public OnPostTypeChar ( char typedCharacter ) : void | ||
typedCharacter | char | |
return | void |
public OnPreTypeChar ( char typedCharacter ) : bool | ||
typedCharacter | char | |
return | bool |