@b4n 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";

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 or view it on GitHub:
https://github.com/geany/geany/pull/3849#discussion_r1659835513
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3849/review/[email protected]>

Reply via email to