ajtruckle / meeting-schedule-assistant-support

Get support for Meeting Schedule Assistant.
https://www.publictalksoftware.co.uk/meeting-schedule-assistant/
5 stars 0 forks source link

Can the Script Editor incorporate a Autocomplete feature? #76

Open ajtruckle opened 6 months ago

ajtruckle commented 6 months ago

Is your feature request related to a problem? Please describe. Visual Studio 2022 includes an autocomplete feature that is extremely useful for coding.

For example:

image

Describe the solution you'd like Is it possible for the Script Editor to integrate a similar feature?

ajtruckle commented 6 months ago

The Scintilla control does support Autocompletion as a concept. To quoute:

Autocompletion displays a list box showing likely identifiers based upon the user's typing. The user chooses the currently selected item by pressing the tab character or another character that is a member of the fillup character set defined with SCI_AUTOCSETFILLUPS. Autocompletion is triggered by your application. For example, in C if you detect that the user has just typed fred. you could look up fred, and if it has a known list of members, you could offer them in an autocompletion list. Alternatively, you could monitor the user's typing and offer a list of likely items once their typing has narrowed down the choice to a reasonable list. As yet another alternative, you could define a key code to activate the list.

It goes into more detail, but suffice to say, we would have come up with lists of keywords. It seems to be a large undertaking.

cengizu commented 5 months ago

It is a handy feature. With intelligent suggestions, users can quickly select appropriate options from the list instead of typing them out fully. 👍

ajtruckle commented 5 months ago

@cengizu We have a set of keywords used for syntax highlighting, although it's uncertain if they offer sufficient information. I've observed that Notepad++ includes its own keyword set in XML files, yet it lacks a keyword list for XML/XSL. In contrast, I possess some keywords based on the Lexilla parsers.