logo WinWrap®

Auto Completion Favorites

WinWrap® Basic is an embedded macro language component available for .NET and COM 32/64 bit Windows applications. The WinWrap® Basic Component is an alternative to Visual Basic for Applications (VBA), ActiveX (e.g. VBScript, JScript, PerlScript, Rexx-based WSH engines and others), and VSTA for this purpose. The WinWrap® Basic Component is compatible with VBA, Sax Basic, VB.NET and Visual Basic 6.0 style scripts.

Auto Completion Favorites (v10.41+)

  • Promote recently used choices to the top of the list
  • Persist favorites between application invocations

Auto Completion Favorites

'#Language "WWB-COM" Option Explicit Sub Main MsgBox "Hello",vbOkCancel MsgBox "Bye",vbYesNo MsgBox "Farewell",vbOkOnly MsgBox "Again", End Sub

Favorites

Auto completion items entered into the code by the user are remembered.

  • Per type favorites
  • Per method/parameter favorites

API

Auto completion favorites can be stored and loaded to bridge application invocations. Use Query("Get IDE AutoComplete Favorite") (COM API, .NET API) when storing and Query("Set IDE AutoComplete Favorite", favorites) (COM API, .NET API) when loading.

To turn off auto completion favorites use Query("Set IDE AutoComplete Limit 0"). To only select the most recent favorite (not moved to the top of the list) use Query("Set IDE AutoComplete LimitPer 1").

Conclusion

Rapidly select commonly used auto completion items.

Copyright Polar Engineering, Inc.