@techee commented on this pull request.


> + *
+ * 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";

> Though… what about allowing extensions to complement Geany's completion to 
> provide keyword completion if no other completion is done? :))))))))

This is what crossed my mind when I mentioned negative priorities here:

https://github.com/geany/geany/pull/3849#issuecomment-2165686224

But let's leave some fun for the future :-)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3849#discussion_r1659844963
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3849/review/2149646...@github.com>

Reply via email to