[gnome-builder/wip/gtk4-port: 276/1774] plugins: categorize various plugins




commit 727bb1b98851b03166971ea2ef02ba20eaf4cd12
Author: Christian Hergert <chergert redhat com>
Date:   Thu Mar 31 13:38:07 2022 -0700

    plugins: categorize various plugins
    
    We can use these to group plugins in the preferences window.

 src/plugins/clang/clang.plugin                     |   1 +
 src/plugins/cmake/cmake.plugin                     |   2 +-
 src/plugins/copyright/copyright.plugin             |   1 +
 src/plugins/deviced/deviced.plugin                 |   1 +
 src/plugins/editorconfig/editorconfig.plugin       |   1 +
 src/plugins/flatpak/flatpak.plugin                 |   1 +
 src/plugins/gcc/gcc.plugin                         |   2 +-
 src/plugins/gdiagnose/gdiagnose.plugin             |   1 +
 src/plugins/git/git.plugin                         |   1 +
 src/plugins/jhbuild/jhbuild.plugin                 |   1 +
 src/plugins/make/make.plugin                       |   2 +-
 src/plugins/maven/maven.plugin                     |   2 +-
 src/plugins/meson-templates/meson-templates.plugin |   2 +-
 src/plugins/meson.build                            | 174 ++++++++++-----------
 src/plugins/meson/meson.plugin                     |   2 +-
 src/plugins/newcomers/newcomers.plugin             |   1 +
 src/plugins/notification/notification.plugin       |   2 +-
 src/plugins/podman/podman.plugin                   |   1 +
 src/plugins/qemu/qemu.plugin                       |   1 +
 src/plugins/rstcheck/rstcheck.plugin               |   1 +
 src/plugins/rust-analyzer/rust-analyzer.plugin     |   5 +-
 src/plugins/waf/waf.plugin                         |   2 +-
 22 files changed, 110 insertions(+), 97 deletions(-)
---
diff --git a/src/plugins/clang/clang.plugin b/src/plugins/clang/clang.plugin
index 1a8ebfecd..a465f76c2 100644
--- a/src/plugins/clang/clang.plugin
+++ b/src/plugins/clang/clang.plugin
@@ -7,6 +7,7 @@ Depends=editor;
 Embedded=_ide_clang_register_types
 Module=clang
 Name=Clang
+X-Category=compilers
 X-Code-Indexer-Languages-Priority=100
 X-Code-Indexer-Languages=c,chdr,cpp,cpphdr,objc
 X-Completion-Provider-Languages=c,chdr,cpp,cpphdr,objc
diff --git a/src/plugins/cmake/cmake.plugin b/src/plugins/cmake/cmake.plugin
index f7e1b41ec..0fa530e05 100644
--- a/src/plugins/cmake/cmake.plugin
+++ b/src/plugins/cmake/cmake.plugin
@@ -4,8 +4,8 @@ Builtin=true
 Copyright=Copyright © 2017 Martin Blanchard
 Description=Provides integration with the CMake build system
 Embedded=_gbp_cmake_register_types
-Hidden=true
 Module=cmake
 Name=CMake
+X-Category=cmake
 X-Project-File-Filter-Name=CMake Project (CMakeLists.txt)
 X-Project-File-Filter-Pattern=CMakeLists.txt
diff --git a/src/plugins/copyright/copyright.plugin b/src/plugins/copyright/copyright.plugin
index a4e35eafb..c19896d43 100644
--- a/src/plugins/copyright/copyright.plugin
+++ b/src/plugins/copyright/copyright.plugin
@@ -7,3 +7,4 @@ Loader=python3
 Module=copyright_plugin
 Name=Update Copyright
 X-Builder-ABI=@PACKAGE_ABI@
+X-Category=editing
diff --git a/src/plugins/deviced/deviced.plugin b/src/plugins/deviced/deviced.plugin
index 25811b59d..70b06194e 100644
--- a/src/plugins/deviced/deviced.plugin
+++ b/src/plugins/deviced/deviced.plugin
@@ -7,3 +7,4 @@ Description=Integration with deviced devices
 Embedded=_gbp_deviced_register_types
 Module=deviced
 Name=Deviced
+X-Category=devices
diff --git a/src/plugins/editorconfig/editorconfig.plugin b/src/plugins/editorconfig/editorconfig.plugin
index 3bb96bde9..828aafca8 100644
--- a/src/plugins/editorconfig/editorconfig.plugin
+++ b/src/plugins/editorconfig/editorconfig.plugin
@@ -7,3 +7,4 @@ Description=Editorconfig integration
 Embedded=_gbp_editorconfig_register_types
 Module=editorconfig
 Name=Editorconfig
+X-Category=editing
diff --git a/src/plugins/flatpak/flatpak.plugin b/src/plugins/flatpak/flatpak.plugin
index 2d7e9bc7c..695de5a5b 100644
--- a/src/plugins/flatpak/flatpak.plugin
+++ b/src/plugins/flatpak/flatpak.plugin
@@ -9,3 +9,4 @@ Hidden=true
 Module=flatpak
 Name=Flatpak
 X-At-Startup=true
+X-Category=sdks
diff --git a/src/plugins/gcc/gcc.plugin b/src/plugins/gcc/gcc.plugin
index 4bc7068ad..aa09b8a79 100644
--- a/src/plugins/gcc/gcc.plugin
+++ b/src/plugins/gcc/gcc.plugin
@@ -4,6 +4,6 @@ Builtin=true
 Copyright=Copyright © 2015-2018 Christian Hergert
 Description=Provides various GCC integration hooks
 Embedded=_gbp_gcc_register_types
-Hidden=true
 Module=gcc
 Name=GCC
+X-Category=compilers
diff --git a/src/plugins/gdiagnose/gdiagnose.plugin b/src/plugins/gdiagnose/gdiagnose.plugin
index 8193b4717..b38cc5f2d 100644
--- a/src/plugins/gdiagnose/gdiagnose.plugin
+++ b/src/plugins/gdiagnose/gdiagnose.plugin
@@ -7,4 +7,5 @@ Description=GObject Diagnostics
 Embedded=_ide_gdiagnose_register_types
 Module=gdiagnose
 Name=GObject Diagnostics
+X-Category=diagnostics
 X-Diagnostic-Provider-Languages=c,chdr
diff --git a/src/plugins/git/git.plugin b/src/plugins/git/git.plugin
index 8592d5293..aca2c59dc 100644
--- a/src/plugins/git/git.plugin
+++ b/src/plugins/git/git.plugin
@@ -6,3 +6,4 @@ Description=Support for the Git version control system
 Embedded=_gbp_git_register_types
 Module=git
 Name=Git
+X-Category=vcs
diff --git a/src/plugins/jhbuild/jhbuild.plugin b/src/plugins/jhbuild/jhbuild.plugin
index 5388e6002..726164971 100644
--- a/src/plugins/jhbuild/jhbuild.plugin
+++ b/src/plugins/jhbuild/jhbuild.plugin
@@ -7,3 +7,4 @@ Loader=python3
 Module=jhbuild_plugin
 Name=JHBuild
 X-Builder-ABI=@PACKAGE_ABI@
+X-Category=sdks
diff --git a/src/plugins/make/make.plugin b/src/plugins/make/make.plugin
index 8c15569e6..acb202af0 100644
--- a/src/plugins/make/make.plugin
+++ b/src/plugins/make/make.plugin
@@ -4,10 +4,10 @@ Builtin=true
 Copyright=Copyright © 2017 Matthew Leeds
 Depends=editor;buildui;
 Description=Provides support for Makefile projects without autotools
-Hidden=true
 Loader=python3
 Module=make_plugin
 Name=Make
+X-Category=buildsystems
 X-Has-Resources=true
 X-Project-File-Filter-Name=Makefile Project
 X-Project-File-Filter-Pattern=Makefile
diff --git a/src/plugins/maven/maven.plugin b/src/plugins/maven/maven.plugin
index a306895b4..429b166ab 100644
--- a/src/plugins/maven/maven.plugin
+++ b/src/plugins/maven/maven.plugin
@@ -4,10 +4,10 @@ Builtin=true
 Copyright=Copyright © 2018 Alberto Fanjul Alonso
 Description=Provides integration with the Maven build tool
 Depends=editor;buildui;
-Hidden=true
 Loader=python3
 Module=maven_plugin
 Name=Maven
+X-Category=buildsystems
 X-Builder-ABI=@PACKAGE_ABI@
 X-Project-File-Filter-Name=Maven (pom.xml)
 X-Project-File-Filter-Pattern=pom.xml
diff --git a/src/plugins/meson-templates/meson-templates.plugin 
b/src/plugins/meson-templates/meson-templates.plugin
index eace1c33f..92f22f305 100644
--- a/src/plugins/meson-templates/meson-templates.plugin
+++ b/src/plugins/meson-templates/meson-templates.plugin
@@ -3,9 +3,9 @@ Authors=Patrick Griffis <tingping tingping se>
 Copyright=Copyright © 2016 Patrick Griffis
 Depends=create-project;
 Description=Provides templates for creating meson projects
-Hidden=true
 Loader=python3
 Module=meson_templates
 Name=Meson Templates
+X-Category=templates
 X-Builder-ABI=@PACKAGE_ABI@
 X-Has-Resources=true
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 02368d1c3..f7de28b6b 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -14,134 +14,134 @@ plugins_deps = [
   libide_code_dep,
   libide_core_dep,
   libide_debugger_dep,
-  libide_editor_dep,
+  #libide_editor_dep,
   libide_foundry_dep,
   libide_greeter_dep,
   libide_gui_dep,
   libide_io_dep,
-  libide_lsp_dep,
+  #libide_lsp_dep,
   libide_plugins_dep,
   libide_projects_dep,
   libide_search_dep,
   libide_sourceview_dep,
-  libide_terminal_dep,
+  #libide_terminal_dep,
   libide_threading_dep,
   libide_tree_dep,
   libide_vcs_dep,
 ]
 
 if get_option('webkit').enabled()
-  plugins_deps += [libide_webkit_dep]
+  #plugins_deps += [libide_webkit_dep]
 endif
 
 subdir('auto-save')
-subdir('autotools')
-subdir('beautifier')
-subdir('blueprint')
+#subdir('autotools')
+#subdir('beautifier')
+#subdir('blueprint')
 subdir('buildconfig')
-subdir('buildstream')
+#subdir('buildstream')
 subdir('buildsystem')
-subdir('buildui')
+#subdir('buildui')
 subdir('buffer-monitor')
-subdir('cargo')
-subdir('clang')
-subdir('clangd')
-subdir('clang-format')
-subdir('cmake')
-subdir('codespell')
-subdir('code-index')
-subdir('codeui')
-subdir('color-picker')
-subdir('command-bar')
-subdir('comment-code')
+#subdir('cargo')
+#subdir('clang')
+#subdir('clangd')
+#subdir('clang-format')
+#subdir('cmake')
+#subdir('codespell')
+#subdir('code-index')
+#subdir('codeui')
+#subdir('color-picker')
+#subdir('command-bar')
+#subdir('comment-code')
 subdir('copyright')
-subdir('c-pack')
-subdir('create-project')
-subdir('ctags')
-subdir('debuggerui')
-subdir('devhelp')
-subdir('deviceui')
-subdir('deviced')
+#subdir('c-pack')
+#subdir('create-project')
+#subdir('ctags')
+#subdir('debuggerui')
+#subdir('devhelp')
+#subdir('deviceui')
+#subdir('deviced')
 subdir('doap')
-subdir('dspy')
-subdir('editor')
+#subdir('dspy')
+#subdir('editor')
 subdir('editorconfig')
-subdir('emacs')
-subdir('eslint')
-subdir('flatpak')
-subdir('file-search')
-subdir('find-other-file')
+#subdir('emacs')
+#subdir('eslint')
+#subdir('flatpak')
+#subdir('file-search')
+#subdir('find-other-file')
 subdir('gcc')
-subdir('gdb')
+#subdir('gdb')
 subdir('gdiagnose')
-subdir('gettext')
+#subdir('gettext')
 subdir('git')
-subdir('glade')
-subdir('gnome-code-assistance')
-subdir('go-langserv')
-subdir('gjs-symbols')
+#subdir('glade')
+#subdir('gnome-code-assistance')
+#subdir('go-langserv')
+#subdir('gjs-symbols')
 subdir('gradle')
 subdir('greeter')
-subdir('grep')
-subdir('gvls')
-subdir('history')
-subdir('html-completion')
-subdir('html-preview')
-subdir('intelephense')
-subdir('jedi-language-server')
+#subdir('grep')
+#subdir('gvls')
+#subdir('history')
+#subdir('html-completion')
+#subdir('html-preview')
+#subdir('intelephense')
+#subdir('jedi-language-server')
 subdir('jhbuild')
-subdir('line-spacing')
-subdir('ls')
+#subdir('line-spacing')
+#subdir('ls')
 subdir('make')
 subdir('maven')
-subdir('meson')
+#subdir('meson')
 subdir('meson-templates')
-subdir('messages')
+#subdir('messages')
 subdir('modelines')
-subdir('mono')
+#subdir('mono')
 subdir('newcomers')
-subdir('notification')
-subdir('npm')
-subdir('omni-gutter')
-subdir('open-with-external')
-subdir('phpize')
-subdir('podman')
-subdir('project-tree')
-subdir('python-gi-imports-completion')
-subdir('python-pack')
+#subdir('notification')
+#subdir('npm')
+#subdir('omni-gutter')
+#subdir('open-with-external')
+#subdir('phpize')
+#subdir('podman')
+#subdir('project-tree')
+#subdir('python-gi-imports-completion')
+#subdir('python-pack')
 subdir('qemu')
-subdir('quick-highlight')
+#subdir('quick-highlight')
 subdir('recent')
-subdir('restore-cursor')
-subdir('retab')
-subdir('rls')
+#subdir('restore-cursor')
+#subdir('retab')
+#subdir('rls')
 subdir('rstcheck')
 subdir('rubocop')
-subdir('rust-analyzer')
-subdir('shellcmd')
-subdir('snippets')
-subdir('spellcheck')
+#subdir('rust-analyzer')
+#subdir('shellcmd')
+#subdir('snippets')
+#subdir('spellcheck')
 subdir('stylelint')
-subdir('sublime')
-subdir('support')
-subdir('symbol-tree')
-subdir('sysprof')
-subdir('sysroot')
-subdir('terminal')
-subdir('testui')
-subdir('todo')
-subdir('ts-language-server')
+#subdir('sublime')
+#subdir('support')
+#subdir('symbol-tree')
+#subdir('sysprof')
+#subdir('sysroot')
+#subdir('terminal')
+#subdir('testui')
+#subdir('todo')
+#subdir('ts-language-server')
 subdir('trim-spaces')
-subdir('update-manager')
-subdir('vagrant')
-subdir('vala-pack')
-subdir('valgrind')
-subdir('vcsui')
-subdir('vim')
-subdir('vls')
+#subdir('update-manager')
+#subdir('vagrant')
+#subdir('vala-pack')
+#subdir('valgrind')
+#subdir('vcsui')
+#subdir('vim')
+#subdir('vls')
 subdir('waf')
-subdir('words')
-subdir('xml-pack')
+#subdir('words')
+#subdir('xml-pack')
 
 plugins = static_library('plugins', plugins_sources,
          dependencies: plugins_deps,
diff --git a/src/plugins/meson/meson.plugin b/src/plugins/meson/meson.plugin
index 8d9ab2349..05428aeb4 100644
--- a/src/plugins/meson/meson.plugin
+++ b/src/plugins/meson/meson.plugin
@@ -4,8 +4,8 @@ Builtin=true
 Copyright=Copyright © 2016 Patrick Griffis
 Description=Provides integration with the Meson build system
 Embedded=_gbp_meson_register_types
-Hidden=true
 Module=meson
 Name=Meson
+X-Category=buildsystems
 X-Project-File-Filter-Name=Meson Project (meson.build)
 X-Project-File-Filter-Pattern=meson.build
diff --git a/src/plugins/newcomers/newcomers.plugin b/src/plugins/newcomers/newcomers.plugin
index 01c297dff..ffd97b483 100644
--- a/src/plugins/newcomers/newcomers.plugin
+++ b/src/plugins/newcomers/newcomers.plugin
@@ -7,3 +7,4 @@ Embedded=_gbp_newcomers_register_types
 Module=newcomers
 Depends=greeter;
 Name=GNOME Newcomers
+X-Category=templates
diff --git a/src/plugins/notification/notification.plugin b/src/plugins/notification/notification.plugin
index 079e89883..b0e08de0d 100644
--- a/src/plugins/notification/notification.plugin
+++ b/src/plugins/notification/notification.plugin
@@ -4,6 +4,6 @@ Builtin=true
 Copyright=Copyright © 2017 Lucie Charvat
 Description=Notification of progress when Builder application is not on foreground
 Embedded=_ide_notification_register_types
-Hidden=true
 Module=notification
 Name=Notification of progress
+X-Category=desktop
diff --git a/src/plugins/podman/podman.plugin b/src/plugins/podman/podman.plugin
index 583ee5a47..0fd93ddea 100644
--- a/src/plugins/podman/podman.plugin
+++ b/src/plugins/podman/podman.plugin
@@ -7,3 +7,4 @@ Description=Provides support for podman containers
 Embedded=_gbp_podman_register_types
 Module=podman
 Name=Podman
+X-Category=sdks
diff --git a/src/plugins/qemu/qemu.plugin b/src/plugins/qemu/qemu.plugin
index c7700b763..94ea0bf17 100644
--- a/src/plugins/qemu/qemu.plugin
+++ b/src/plugins/qemu/qemu.plugin
@@ -7,3 +7,4 @@ Description=Integration with Qemu cross-architecture emulation
 Embedded=_gbp_qemu_register_types
 Module=qemu
 Name=Qemu
+X-Category=devices
diff --git a/src/plugins/rstcheck/rstcheck.plugin b/src/plugins/rstcheck/rstcheck.plugin
index 3696685f6..2bd72050a 100644
--- a/src/plugins/rstcheck/rstcheck.plugin
+++ b/src/plugins/rstcheck/rstcheck.plugin
@@ -6,6 +6,7 @@ Description=Provides reStructuredText linting using rstcheck
 Loader=python3
 Module=rstcheck_plugin
 Name=Rstcheck
+X-Category=diagnostics
 X-Diagnostic-Provider-Languages-Priority=100
 X-Diagnostic-Provider-Languages=rst
 X-Builder-ABI=@PACKAGE_ABI@
diff --git a/src/plugins/rust-analyzer/rust-analyzer.plugin b/src/plugins/rust-analyzer/rust-analyzer.plugin
index c554f8365..b5a7f3592 100644
--- a/src/plugins/rust-analyzer/rust-analyzer.plugin
+++ b/src/plugins/rust-analyzer/rust-analyzer.plugin
@@ -6,11 +6,12 @@ Description=Provides auto-completion, diagnostics, and other IDE features
 Module=rust-analyzer
 Embedded=_rust_analyzer_register_types
 Name=Rust Analyzer Language Server Integration
+X-Category=lsps
+X-Code-Action-Languages=rust
 X-Completion-Provider-Languages=rust
 X-Diagnostic-Provider-Languages=rust
-X-Symbol-Resolver-Languages=rust
 X-Formatter-Languages=rust
 X-Highlighter-Languages=rust
 X-Hover-Provider-Languages=rust
 X-Rename-Provider-Languages=rust
-X-Code-Action-Languages=rust
+X-Symbol-Resolver-Languages=rust
diff --git a/src/plugins/waf/waf.plugin b/src/plugins/waf/waf.plugin
index 3b72decad..e7faad23c 100644
--- a/src/plugins/waf/waf.plugin
+++ b/src/plugins/waf/waf.plugin
@@ -2,10 +2,10 @@
 Authors=Alex Mitchel, Christian Hergert
 Copyright=Copyright 2019 Alex Mitchell, 2019 Christian Hergert
 Description=Provides integration with the Waf build system
-Hidden=true
 Loader=python3
 Module=waf_plugin
 Name=Waf
+X-Category=buildsystems
 X-Project-File-Filter-Name=Waf (waf)
 X-Project-File-Filter-Pattern=wscript
 X-Builder-ABI=@PACKAGE_ABI@


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