@b4n commented on this pull request.


In plugins/demopluginext.c:

> + *
+ * Then copy or symlink the plugins/demopluginext.so file to ~/.config/geany/plugins
+ * - it will be loaded at next startup.
+ */
+
+#include <geanyplugin.h>
+
+static gboolean autocomplete_provided(GeanyDocument *doc, gpointer data)
+{
+    return doc->file_type->id == GEANY_FILETYPES_PYTHON;
+}
+
+
+static void autocomplete_perform(GeanyDocument *doc, gboolean force, gpointer data)
+{
+    const gchar *kwd_str = "False None True and as assert async await break case class continue def del elif else except finally for from global if import in is lambda match nonlocal not or pass raise return try while with yield";

Ah OK makes sense :) And yeah it doesn't matter.

Though… what about allowing extensions to complement Geany's completion to provide keyword completion if no other completion is done? :)))))))) OK I stop (though, we could potentially introduce this one day by having a priority below Geany's)


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3849/review/2149637371@github.com>