[gnome-builder] ctags: check for .tags as well
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] ctags: check for .tags as well
- Date: Sat, 16 May 2015 04:39:26 +0000 (UTC)
commit c512a8258ebdeedacc07fcc20534edae7bdf3a1f
Author: Christian Hergert <christian hergert me>
Date: Fri May 15 21:39:21 2015 -0700
ctags: check for .tags as well
libide/ctags/ide-ctags-service.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libide/ctags/ide-ctags-service.c b/libide/ctags/ide-ctags-service.c
index ba463bb..e319cfe 100644
--- a/libide/ctags/ide-ctags-service.c
+++ b/libide/ctags/ide-ctags-service.c
@@ -178,6 +178,11 @@ ide_ctags_service_mine_directory (IdeCtagsService *self,
ide_ctags_service_load_tags (self, child);
g_clear_object (&child);
+ child = g_file_get_child (directory, ".tags");
+ if (g_file_query_file_type (child, 0, cancellable) == G_FILE_TYPE_REGULAR)
+ ide_ctags_service_load_tags (self, child);
+ g_clear_object (&child);
+
if (!recurse)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]