@elextr commented on this pull request.
> +static gboolean autocomplete_provided(GeanyDocument *doc, gpointer data)
+{
+ /* Check whether the plugin provides the feature for the passed document */
+ return doc->file_type->id == GEANY_FILETYPES_PYTHON;
+}
+
+
+static void autocomplete_perform(GeanyDocument *doc, gboolean force, gpointer
data)
+{
+ /* The autocompletion logic comes here, including the autocompletion UI
+ * display (either using some custom widget or using Scintilla's
+ * SCI_AUTOCSHOW) */
+}
+
+
+/* The PluginExtension instance - we only implement autocompletion here. */
See the overall comment on the review.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3849#discussion_r1650912132
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3849/review/[email protected]>