Метод | Описание | |
---|---|---|
CommitCompletionSession ( ) : bool |
Close the completion dropdown, commit the selected item to the text view.
|
|
CommitCompletionSession ( char typedCharacter ) : bool |
Close the completion dropdown, commit the selected item to the text view. Used when typing a char, use the one without a typed char for CompleteWord command
|
|
ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void | ||
Detach ( ITextView textView ) : void | ||
DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void | ||
DismissAllSessions ( ) : void |
Close any sessions that I am showing
|
|
DismissCompletionSession ( ) : void |
Close the completion dropdown, don't make any changes
|
|
DismissQuickInfoSession ( ITextView textView ) : void | ||
DismissSignatureSession ( ITextView textView, ICoreShell shell ) : void | ||
FilterCompletionSession ( ) : void |
Restricts the set of completions to those that match the applicability text of the completion set, and then determines the best match. R is case-sensitive so 't' is different from 'T' (the latter is a shortcut for 'TRUE').
|
|
HandleCommand ( System.Guid group, int id, object inputArg ) : bool |
Allows custom completion presenters to intercept commands
|
|
HasActiveSignatureSession ( ITextView textView, ICoreShell shell ) : bool |
Is there an active signature help session? (is the tooltip showing?)
|
|
IsClosingChar ( char typedCharacter ) : bool |
In some languages completion needs to know if a character is a 'closing' character. Closing character typically tells if user finished typing certain fragment. This might be semicolon in C# or JScript, closing angle bracked in HTML etc. Upon closing character language may choose to autoformat code, dismiss intellisense or change intellisense presenter.
|
|
IsCommitChar ( char typedCharacter ) : bool |
Should this key press commit a completion session?
|
|
IsMuteCharacter ( char typedCharacter ) : bool |
True if character should be 'eaten' when session completes rather than passed to the core editor controller. For example, '=' symbol is ignored in HTML completion since on = HTML editor inserts ="" which already contains equals.
|
|
IsTriggerChar ( char typedCharacter ) : bool |
Should this key press start a completion session?
|
|
OnCompleteWord ( ) : void |
Called when the user executes a command that should show the completion list, and also automatically completes the current word if possible
|
|
OnPostTypeChar ( char typedCharacter ) : void |
Called when the user types a character, after it shows up in the text view
|
|
OnPreTypeChar ( char typedCharacter ) : bool |
Called when the user types a character, but before it shows up in the text view.
|
|
OnShowMemberList ( bool filterList ) : void |
Called when the user executes a command that should show the completion list
|
|
OnShowQuickInfo ( ) : void |
Called when the user executes a command that should show the signature help tooltip
|
|
OnShowSignatureHelp ( ) : void |
Called when the user executes a command that should show the signature help tooltip
|
|
ShowCompletion ( bool autoShownCompletion ) : ICompletionSession |
Show the completion dropdown if it isn't showing already
|
|
ShowSignature ( bool autoShown ) : void |
Shows the signature help tooltip if it isn't showing already
|
|
TriggerCompletion ( ) : ICompletionSession | ||
TriggerSignatureHelp ( ) : void |
Метод | Описание | |
---|---|---|
CanCommitCompletionSession ( char typedCharacter ) : bool | ||
CanDismissSignatureOnCommit ( ) : bool | ||
CommitUniqueCompletionSession ( ) : void |
Only commit the completion selection if there is a unique choice in the list
|
|
HasActiveSignatureSession ( ITextView textView ) : bool | ||
IsAutoShownCompletion ( ) : bool |
Determines if current completion session is automatically invoked such as when user types a trigger character. Oppisite is when user explicitly invokes Edit > Intellisense > Show Members or similar command such as Ctrl+J or Ctrl+Space.
|
|
IsRetriggerChar ( ICompletionSession session, char typedCharacter ) : bool |
If completion is already showing, should this keypress start a new session?
|
|
OnCompletionSessionCommitted ( object sender, |
||
OnCompletionSessionDismissed ( object sender, |
||
OnPostTypeClosingChar ( char typedCharacter ) : void |
Invoked if user typed a closing character. IsClosingChar
|
|
OnPostTypeCompletionChar ( char typedCharacter ) : void | ||
OnPreTypeCompletionChar ( char typedCharacter ) : void | ||
ShowSignatureAndCompletion ( bool autoShownSignature, bool autoShownCompletion ) : void |
The signature and completion MUST be shown in a specific order, so use this function to get the order correct.
|
|
UpdateInsertionText ( ) : void |
Gives derived controllers a chance to update CompletionSession.SelectedCompletionSet.SelectionStatus.Completion.InsertionText
|
Метод | Описание | |
---|---|---|
ClearCompletionSession ( ) : void | ||
CompletionController ( ITextView textView, IList |
protected CanCommitCompletionSession ( char typedCharacter ) : bool | ||
typedCharacter | char | |
Результат | bool |
protected CanDismissSignatureOnCommit ( ) : bool | ||
Результат | bool |
public CommitCompletionSession ( char typedCharacter ) : bool | ||
typedCharacter | char | |
Результат | bool |
protected CommitUniqueCompletionSession ( ) : void | ||
Результат | void |
public abstract ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void | ||
subjectBuffer | ITextBuffer | |
Результат | void |
public Detach ( ITextView textView ) : void | ||
textView | ITextView | |
Результат | void |
public abstract DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void | ||
subjectBuffer | ITextBuffer | |
Результат | void |
public DismissCompletionSession ( ) : void | ||
Результат | void |
public DismissQuickInfoSession ( ITextView textView ) : void | ||
textView | ITextView | |
Результат | void |
public static DismissSignatureSession ( ITextView textView, ICoreShell shell ) : void | ||
textView | ITextView | |
shell | ICoreShell | |
Результат | void |
public HandleCommand ( System.Guid group, int id, object inputArg ) : bool | ||
group | System.Guid | |
id | int | |
inputArg | object | |
Результат | bool |
protected HasActiveSignatureSession ( ITextView textView ) : bool | ||
textView | ITextView | |
Результат | bool |
public static HasActiveSignatureSession ( ITextView textView, ICoreShell shell ) : bool | ||
textView | ITextView | |
shell | ICoreShell | |
Результат | bool |
public IsClosingChar ( char typedCharacter ) : bool | ||
typedCharacter | char | |
Результат | bool |
public IsCommitChar ( char typedCharacter ) : bool | ||
typedCharacter | char | |
Результат | bool |
public IsMuteCharacter ( char typedCharacter ) : bool | ||
typedCharacter | char | |
Результат | bool |
protected IsRetriggerChar ( ICompletionSession session, char typedCharacter ) : bool | ||
session | ICompletionSession | |
typedCharacter | char | |
Результат | bool |
public IsTriggerChar ( char typedCharacter ) : bool | ||
typedCharacter | char | |
Результат | bool |
protected OnCompletionSessionCommitted ( object sender, |
||
sender | object | |
eventArgs | ||
Результат | void |
protected OnCompletionSessionDismissed ( object sender, |
||
sender | object | |
eventArgs | ||
Результат | void |
public OnPostTypeChar ( char typedCharacter ) : void | ||
typedCharacter | char | |
Результат | void |
protected OnPostTypeClosingChar ( char typedCharacter ) : void | ||
typedCharacter | char | |
Результат | void |
protected OnPostTypeCompletionChar ( char typedCharacter ) : void | ||
typedCharacter | char | |
Результат | void |
public OnPreTypeChar ( char typedCharacter ) : bool | ||
typedCharacter | char | |
Результат | bool |
protected OnPreTypeCompletionChar ( char typedCharacter ) : void | ||
typedCharacter | char | |
Результат | void |
public OnShowMemberList ( bool filterList ) : void | ||
filterList | bool | |
Результат | void |
public ShowCompletion ( bool autoShownCompletion ) : ICompletionSession | ||
autoShownCompletion | bool | |
Результат | ICompletionSession |
public ShowSignature ( bool autoShown ) : void | ||
autoShown | bool | |
Результат | void |
protected ShowSignatureAndCompletion ( bool autoShownSignature, bool autoShownCompletion ) : void | ||
autoShownSignature | bool | |
autoShownCompletion | bool | |
Результат | void |
public TriggerCompletion ( ) : ICompletionSession | ||
Результат | ICompletionSession |