The `.mjs` extension is used by Node.js and others to denote JavaScript module files, unlike normal `.js` files these files are treated like ES6 modules by default.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3698
-- Commit Summary --
* Add `.mjs` extension for JavaScript
-- File Changes --
M data/filetype_extensions.conf (2)
-- Patch Links --
https://github.com/geany/geany/pull/3698.patchhttps://github.com/geany/geany/pull/3698.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3698
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3698(a)github.com>
When session opening starts, this signal is emitted with parameter TRUE, when it stops, with FALSE.
This gives plugins information e.g. whether document opening happens as a result of user action or whether it's part of initial session opening.
For the LSP plugin this is used to detect the finally displayed document for which the server is started, otherwise if "document-open" is used, it would start servers for all open document filetypes immediately on Geany start which is unnecessary and could slow start time.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3707
-- Commit Summary --
* Add "session-opening" signal emitted when session opening starts/stops
-- File Changes --
M doc/pluginsignals.c (12)
M src/geanyobject.c (7)
M src/geanyobject.h (1)
M src/keyfile.c (4)
M src/libmain.c (16)
M src/main.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/3707.patchhttps://github.com/geany/geany/pull/3707.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3707
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3707(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>
I tried to code a plugin for copilot but soon realized that your api doesn't allow low level control of scintilla or I'm too noob to realize how. Copilot only needs to grab context from current cursor position (say 200 chars before and after), then it will suggest autocompletion options. Btw, Copilot is not the only tool for the task, I plan to add and OpenAI backend that can be gracefully replaced by LocalAI for 100% private and off-line coding (so no IP issues). Devs can choose to train/finetune their own LLM if they wish, plug it into LocalAI and let the geany plugin take care of the rest.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3543
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3543(a)github.com>
After successful installation of geany-plugins-2.0_setup.exe with standard settings only a few plugins are available in Geany.
Error message says plugins are not binary compatible with this release of geany and needs to be recompiled.
In previous version 1.38 already some plugins were missing like git-changebar but now lot more.
Both Geany and Geany-Plugins are installed in Windows user directory.

--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1292
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1292(a)github.com>
It would be so perfect to have those elements in the Customize Toolbar, so one could place them in the toolbar for a fast access:
- Show Line Endings
- Show White Space
- Line Wrapping
- Show Line numbers
- Hide/show menu bar (or even more perfect: menu-symbol, like in Firefox)
Or, is there a tutorial how to add elements in the Customize Toolbar?
By the way, the White Spaces are too small and nearly invisible.
--
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/2690
I belive this issue came with geany 2.0, but I am not sure.
The default configuration for the geany status bar is: disabled. Verify "show status bar" in the Preferences, is disabled:

This is how geany looks before using "toggle All Additional Widgets" Function:

Using the "View -> Toggle All Additional Widgets":

Until here everything is working.
Now if the "View -> Toggle All Additional Widgets" is again executed, geany shows a empty "status bar" at the bottom:

Now in this issue state, closing geany and reopening again, open geany again in the "desired" state, without showing the "status bar" at the bottom.
Please take a look at it.
Thanks.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3706
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3706(a)github.com>
Wish for an item in the file tab's context menu to open the file's containing folder and locate the file.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3704
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3704(a)github.com>
I'm happy to discover Geany 2 with same window but for me there is a major issue: text is blurred on Debian Testing (2.0-1), see below:
Geany 1.38 - GTK 3.24

Geany 2.0 - GTK 3.24

Both with `FREETYPE_PROPERTIES="truetype:interpreter-version=35"`.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3701
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3701(a)github.com>