For languages like Markdown tag manager is used to display an outline of the document in the sidebar but the generated tags aren't really meant for autocompletion where they don't make much sense. Without this patch typing a word from e.g. a heading of markdown invokes the autocompletion popup anywhere in the edited text which is quite annoying.
Apart from languages that use tags for the sidebar outline (ABC, asciidoc, bibtex, ini/conf, diff, docbook, latex, markdown, rest, txt2tags, HTML), there's also JSON where autocompletion doesn't really work because tags are generated for json strings such as keys but autocompletion doesn't work inside strings currently so when one types ", the following string doesn't get autocompleted.
This is how the current behavior looks like for LaTeX:
<img width="565" alt="Screenshot 2023-10-04 at 23 17 44" src="https://github.com/geany/geany/assets/713965/2c023c53-9f6c-4448-8…
and this is for Markdown:
<img width="601" alt="Screenshot 2023-10-04 at 23 13 55" src="https://github.com/geany/geany/assets/713965/c24056e5-fa59-444d-b…
I'm not sure if it's related to the changes made in this release or if it behaved this way before too but since it's quite annoying and the patch is hopefully a low-risk one, it could be worth considering for Geany 2.0.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3575
-- Commit Summary --
* Disable autocompletion for most non-programming/non-scripting languages
-- File Changes --
M src/editor.c (5)
M src/tagmanager/tm_parser.c (23)
M src/tagmanager/tm_parser.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/3575.patchhttps://github.com/geany/geany/pull/3575.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3575
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3575(a)github.com>
Previously the file path could be pasted in a file dialog.
With the new nice-looking OSX file dialog in Geany 1.36, this feature is no longer there. Standard behavior in OSX is "Command-Shift G" to bring up the path dialog. It would be super great if this expected OSX behavior was implemented also in Geany
--
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-osx/issues/14
The latest version (1.30) in PHP don't autocomplete **require**.
--
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/1436
This PR adds an option to hide the menubar at startup and a keybinding to toggle menubar visibility. Addresses #633.
Currently, there is no default keybinding set to toggle the menubar. This complicates reshowing the menubar if it is hidden at startup. A common key combination to toggle menubar visibility is `<Primary>m`, but that is already being used to toggle markers. Should the keybinding be reassigned? If not, what other keybinding should be used?
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2972
-- Commit Summary --
* <a href="https://github.com/geany/geany/pull/2972/commits/c2076abb31c4ffd44dbad845d3…">Add option to hide menubar on startup</a>
-- File Changes --
M doc/geany.txt (1)
M src/keybindings.c (11)
M src/keybindings.h (2)
M src/libmain.c (5)
M src/plugindata.h (2)
M src/ui_utils.c (2)
M src/ui_utils.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/2972.patchhttps://github.com/geany/geany/pull/2972.diff
--
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/pull/2972
Since version 2.0, if I paste a large chunk of text (more than 1 screen
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3666
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3666(a)github.com>
Should there be one? A Checkbutton for "Line breaking" in Preferences/ Editor / Features , besides "Line breaking column" or besides "Line wrapping" ?
It's tedious to remember and toggle that per document every time.
Or maybe there is a way, unknown to me, to modify some start-up file to tell Geany to open with Line breaking on in menu/Document ?
--
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/1946
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>
On an eInk-display In Lubuntu 23.04 I can't see at all which tab is in focus because of the Widget Style Qt Style Cleanlooks, that does not work like in Lubuntu 22.10. I know that I can change in geany.css the CSS of a tab-title when a document was changed but not yet saved. So, is there a possibility to do the same in geany.css but with a tab-title of a tab that is active?
Thank you so much in advance for help.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3482
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3482(a)github.com>
I am using Geany in Linux Mint Cinnamon and Kubuntu. What is needed to be modified please?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3555
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3555(a)github.com>