Closes: #3305
* Common Intermediate Language: https://en.wikipedia.org/wiki/Common_Intermediate_Language
* Upstream discussion: https://sourceforge.net/p/scintilla/feature-requests/1265/
This PR adds a new Lexer (`CIL`) from upstream v5.1.4 and adds a new filetype in Geany. Thanks to @xv for his great work with the Lexer module! 🥳
I've tried to follow the instructions from `HACKING` file, thanks to @elextr for pointing me in the right direction. Sadly I've no experience with Geany and Lexilla in terms of coding internals. If something looks wrong, I'll try to fix the PR.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3480
-- Commit Summary --
* Add CIL filetype
-- File Changes --
M data/Makefile.am (1)
A data/filedefs/filetypes.cil (30)
M data/filetype_extensions.conf (1)
M scintilla/Makefile.am (1)
A scintilla/lexilla/lexers/LexCIL.cxx (410)
M scintilla/lexilla/src/Lexilla.cxx (1)
M src/filetypes.c (5)
M src/filetypes.h (1)
M src/highlighting.c (12)
M src/highlightingmappings.h (25)
-- Patch Links --
https://github.com/geany/geany/pull/3480.patchhttps://github.com/geany/geany/pull/3480.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3480
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3480(a)github.com>
Are there any plans to add support of lsp to 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/issues/2184
Hi.
I would like to have a button or shortcut that lets me filter the files I see in the open file pane by pressing the first letter. I have ~1000 files open and I am very happy to see that the editor can handle that many files I just need a bit of help from the UI in order to jump to the right file.
Thank you for creating the best editor for coding in Vala.
Cheers
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3078
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3078(a)github.com>
This is my second attempt on the LSP API as originally proposed by #3571.
I changed several things:
1. I renamed the struct `Lsp` to `PluginExtension` - there's nothing LSP-specific in this interface and it could be used by other plugins too (or possibly extended in the future if some plugins wanted to provide another functionality, we could extend this API).
2. I reduced the number of functions in the API to the absolute minimum and tried to do as much as possible in the plugin itself.
3. For this PR I removed the API related to the sidebar symbol tree - this one requires most changes on the Geany side and possibly more discussion and I don't want to block this PR by it. One possible alternative is also just keep using TM for the symbol tree, ignoring the symbols provided by LSP (the symbol tree is the least problematic part of TM IMO and could stay the way it is). I'll post the extra patches to allow sidebar symbols in a separate PR.
I also updated the combined Geany+LSP plugin at https://github.com/techee/geany-lsp to use the new API and also to work even when compiled against unmodified Geany. This is quite clumsy, however - to avoid conflicts between Geany's TM implementation and the plugin, it requires disabling TM by adding
```
[settings]
tag_parser=
```
to the filetype config file of the affected filetypes, basically disabling all TM features. It also requires separate keybindings for e.g. tag goto or autocompletion instead of re-using the Geany ones.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3849
-- 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
-- File Changes --
M meson.build (3)
M plugins/geanyplugin.h (1)
M src/Makefile.am (2)
M src/document.c (4)
M src/editor.c (34)
M src/keybindings.c (13)
A src/pluginextension.c (141)
A src/pluginextension.h (76)
M src/symbols.c (11)
M src/symbols.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/3849.patchhttps://github.com/geany/geany/pull/3849.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3849
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3849(a)github.com>
Previously, a console window is shown in background when geany.exe is executed. This change fixes the above issue by specifying _windows_ subsystem type.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3811
-- Commit Summary --
* meson: Prevent showing console after running geany in Windows
-- File Changes --
M meson.build (3)
-- Patch Links --
https://github.com/geany/geany/pull/3811.patchhttps://github.com/geany/geany/pull/3811.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3811
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3811(a)github.com>
Is it possible? I set up my favorite color scheme for the editor, but the rest of UI is very bright "black-on-white".
--
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/2928
After starting geany 1.37.1 Debian GNU/Linux 10 (buster) with a markdown-file that was opened already yesterday, the preview is not working (see below) until the moment I edit the file again. Phew, quite difficult to explain exactly, sorry.
The shown 'error' in the preview is: _The current document does not have a Markdown filetype_
Not a big issue for me but I still wanted to post it
--
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-plugins/issues/1062