This is necessary to compile GLib schemas, e.g. when installing plugins with their dependencies.
It is not strictly necessary to compile the schemas again on installation as they are already compiled during the bundle creation but it probably won't hurt and might be useful if installing Geany over an existing installation.
When the command is executed by the installer a little black console window pops up for a very small fraction of a second. I guess we can live with this.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3885
-- Commit Summary --
* Windows: Add glib-compile-schemas.exe to GTK bundle
* Windows: Compile GLib schemas after installation
-- File Changes --
M geany.nsi.in (2)
M scripts/gtk-bundle-from-msys2.sh (4)
-- Patch Links --
https://github.com/geany/geany/pull/3885.patchhttps://github.com/geany/geany/pull/3885.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3885
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3885(a)github.com>
It would be great to have the ability to create multiple carets, select multiple pieces, or progressively clone a selection of a word to the next identical match creating multiple selections, not necessarily square, and then be able to type, delete, replace, etc. using the multiple carets until Esc is hit, pasting into all carets with Ctrl-V, and so on.
Here's an animated demonstration of these features: https://www.sublimetext.com/
This is Sublime Text's killer feature, and this would put Geany closer to one of the most reputed, feature rich commercial multiplatform editors, while still being free software. I believe there's support for this in Scintilla, at least to some extent.
This supersets #850.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1141
Hello everyone.
I found and have grown fond of a particular metric. [cyclomatic complexity (wikipedia link)](https://en.wikipedia.org/wiki/Cyclomatic_complexity) To save you the "definition jargon", it counts your ifs, while, blocks, etc. in a function. Meaning, even a short, but a highly nested function is 'bad' and a long function can be considered 'good' if only it's not very complex and mostly linear / sequential.
I use it in python with this module: https://radon.readthedocs.io/en/latest/intro.html#cyclomatic-complexity
Which takes a python file and returns a sorted list of the functions in that file, with color coding and the worst being at the top.
For my case I can just set it up as a custom command.
But I still need to remember to press the button. It would be a quality of life improvement if the command ran automatically, let's say every time I save a file and if the feedback I'm getting wouldn't come as text output in the built in console, but as some kind of colored hint in the symbol list. E.g. maybe a colored [CC:A] or [CC:F].
Since it's a general metric, it may be interesting to set this up for other languages as well.
![image](https://github.com/geany/geany-plugins/assets/5713211/6efd0300-f852-4c63-bad7-6706bcee8c26)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1356
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1356(a)github.com>
Closed #190 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/190#event-13090503558
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issue/190/issue_event/13090503558(a)github.com>
This can probably be closed since geanypy is effectively no more.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/190#issuecomment-2156390538
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/190/2156390538(a)github.com>
This patch adds a simple API allowing LSP plugins to take control of certain Geany built-in features and disabling their implementation in Geany. Currently, autocompletion, calltips, and going to definition/declaration is supported.
Plugins should define the Lsp struct, fill the pointers to the functions implementing the features they override, and register themselves using the lsp_register() call. Similarly, they should unregister themselves using lsp_unregister() when they don't want to provide the Lsp features any more, or, latest, when the plugin gets unloaded.
Each of the currently supported features is implemented using two functions - one checking whether Lsp plugin will override Geany's behavior of this feature, and the other function implementing the feature. For instance for autocompletion:
- autocomplete_available(doc) should return TRUE if the plugin performs autocompletion for the doc's filetype. This function is used to deactivate Geany's autocompletion when the Lsp plugin supports it.
- autocomplete_perform(doc) calls the corresponding interface of the LSP server (which responds asynchronously so when autocomplete_perform() is executed, the results won't be available yet)
The Lsp struct is padded with an array large enough to allow additions of many more functions to the struct and allowing binary compatibility with older LSP plugin versions not implementing all the functions. It's just mandatory that all plugins zero-initialize the allocated Lsp struct (either by creating it on the heap or by allocating it using g_new0() or similar function). NULL pointers in this struct are handled gracefully.
The current implementation supports only a single LSP plugin. However, if in the future arises the need for more LSP plugins running in parallel (e.g. a specialized LSP plugin for certain language together with the current "generic" LSP plugin), the implementation could be extended to support a list of Lsp structs and trying to call the functions defined by them one by one. The current interface should already be sufficient to support such an implementation.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3571
-- Commit Summary --
* Add API for LSP plugins
-- File Changes --
M meson.build (3)
M src/Makefile.am (2)
M src/editor.c (32)
M src/keybindings.c (11)
A src/lsp.c (107)
A src/lsp.h (59)
M src/symbols.c (9)
-- Patch Links --
https://github.com/geany/geany/pull/3571.patchhttps://github.com/geany/geany/pull/3571.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3571
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3571(a)github.com>
This is the complete counterpart of #3849, including the sidebar symbol patches and also https://github.com/geany/geany/pull/3707 and https://github.com/geany/geany/pull/3572.
These are all the diffs against Geany itself from https://github.com/techee/geany-lsp.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3850
-- Commit Summary --
* Add interface used by plugins to replace some Geany functionality with their own implementation
* Add Geany code delegating autocompletion to plugins
* Add Geany code delegating calltips to plugins
* Add Geany code delegating symbol goto to plugins
* Add Geany code delegating keyword highlighting to plugins
* Export some types/functions so plugins have access to Geany symbol icons
* Add symbols_reload_tag_list() which plugins can call to reload sidebar symbols
* Replace filetype_has_tags() with document_has_tags()
* Add some extra fields to TMTag
* Export tm_tag_new(), tm_tag_ref() and tm_tag_unref() to plugins
* Add Geany code delegating symbol tree generation to plugins
* Add "session-opening" signal emitted when session opening starts/stops
* Add "document-before-save-as" signal
-- File Changes --
M doc/pluginsignals.c (23)
M meson.build (3)
M plugins/geanyplugin.h (1)
M src/Makefile.am (2)
M src/document.c (21)
M src/document.h (2)
M src/editor.c (34)
M src/filetypes.c (10)
M src/filetypes.h (2)
M src/geanyobject.c (14)
M src/geanyobject.h (2)
M src/keybindings.c (13)
M src/keyfile.c (4)
M src/libmain.c (16)
M src/main.h (2)
A src/pluginextension.c (141)
A src/pluginextension.h (81)
M src/sidebar.c (2)
M src/symbols.c (131)
M src/symbols.h (5)
M src/tagmanager/tm_parser.h (34)
M src/tagmanager/tm_tag.c (23)
M src/tagmanager/tm_tag.h (17)
-- Patch Links --
https://github.com/geany/geany/pull/3850.patchhttps://github.com/geany/geany/pull/3850.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3850
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3850(a)github.com>
"=" is the primary symbol of the "+" key on the number line above the letters.
Almost all programs utilize this shortcut to zoom in. (Firefox, Chromium, nautilus, etc.)
It could be a good default alongside "ctrl" + "+".
On my laptop I have no numpad-keys and adding this default shortcut could be favorable for anyone using a laptop or with accessibility needs, probably.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3894
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3894(a)github.com>