@elextr commented on this pull request.


In src/tagmanager/tm_workspace.c:

> @@ -746,9 +847,12 @@ static gint sort_found_tags(gconstpointer a, gconstpointer b, gpointer user_data
 	const TMTag *t1 = *((TMTag **) a);
 	const TMTag *t2 = *((TMTag **) b);
 
-	/* sort local vars first (with highest line number first), followed
-	 * by tags from current file, followed by workspace tags, followed by
-	 * global tags */
+	/* sort local vars first (with highest line number first),

Currently it's those before the cursor.

Ok, its fine for C, if locals only and sorting only its ok for C++ so long as no other declarations (eg members) that happen after the cursor are not excluded from the autocomplete (even if they get sorted later).


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/3269/review/1090191569@github.com>