[gnome-builder/wip/gtk4-port: 633/1774] plugins/gjs-symbols: reenable plugin




commit 0a8894328d91da99bc519377f0ebe87892d55a8f
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 19 14:15:31 2022 -0700

    plugins/gjs-symbols: reenable plugin

 src/plugins/gjs-symbols/gjs_symbols.py | 5 -----
 src/plugins/meson.build                | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/plugins/gjs-symbols/gjs_symbols.py b/src/plugins/gjs-symbols/gjs_symbols.py
index e06353f3c..c98eb23c2 100644
--- a/src/plugins/gjs-symbols/gjs_symbols.py
+++ b/src/plugins/gjs-symbols/gjs_symbols.py
@@ -31,7 +31,6 @@ from gi.repository import Ide
 
 SYMBOL_PARAM_FLAGS=flags = GObject.ParamFlags.CONSTRUCT_ONLY | GObject.ParamFlags.READWRITE
 
-
 class JsSymbolNode(Ide.SymbolNode):
     file = GObject.Property(type=Gio.File, flags=SYMBOL_PARAM_FLAGS)
     line = GObject.Property(type=int, flags=SYMBOL_PARAM_FLAGS)
@@ -65,7 +64,6 @@ class JsSymbolNode(Ide.SymbolNode):
     def __repr__(self):
         return '<JsSymbolNode {} ({})'.format(self.props.name, self.props.kind)
 
-
 class JsSymbolTree(GObject.Object, Ide.SymbolTree):
     def __init__(self, dict_, file_):
         super().__init__()
@@ -239,7 +237,6 @@ class JsSymbolTree(GObject.Object, Ide.SymbolTree):
     def do_get_nth_child(self, node, nth):
         return node[nth] if node is not None else self.root_node[nth]
 
-
 JS_SCRIPT = \
 """var data;
 try {
@@ -256,7 +253,6 @@ try {
 }
 """.replace('\n', ' ')
 
-
 class GjsSymbolProvider(Ide.Object, Ide.SymbolResolver):
     def __init__(self):
         super().__init__()
@@ -363,7 +359,6 @@ class JsCodeIndexEntries(GObject.Object, Ide.CodeIndexEntries):
     def do_get_file(self):
         return self.file
 
-
 class GjsCodeIndexer(Ide.Object, Ide.CodeIndexer):
     active = False
     queue = None
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 6615e4883..e24de0fe3 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -78,7 +78,7 @@ subdir('gettext')
 subdir('git')
 #subdir('glade')
 subdir('go-langserv')
-#subdir('gjs-symbols')
+subdir('gjs-symbols')
 subdir('gradle')
 subdir('greeter')
 #subdir('grep')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]