Hi.
I've been having a slight issue that I haven't sorted out yet: I mostly use `git` from the VTE (for some reasons that are not relevant to the issue). Mouse wheel scrolling doesn't seem to work with `git` commands when run from the VTE, i.e. the _window_ is scrolled instead of the _text_. What I expect is the text to scroll with the wheel, as if I had pressed the UP or DOWN cursor keys.
I'm using this command as the shell for the VTE: `/bin/bash --rcfile ~/.vterc`
File `.vterc` is a custom script I wrote to load a minimalist configuration for `bash`.
Now here's what I've noticed after investigating:
* scrolling works as expected when I run `less <long file>` from the VTE
* scrolling works as expected when viewing `man` pages from the VTE
* scrolling works as expected when I load `zsh` from the VTE and then type GIT commands that involve the pager (aka `less`)
* scrolling works as expected when I run `git [...] | less --raw` in the VTE... except _I loose colouring_
* scrolling does **not** work as expected when I configure the pager as `less -FX` in the VTE
* scrolling does **not** work as expected when I configure the pager as `less --raw` in the VTE
* scrolling does **not** work as expected when I load a new instance of `bash` in the VTE
* scrolling does **not** work as expected when I use `/bin/bash` as the VTE shell, which rules out my custom RC as causing the issue
So the issue seems to be a combination between Geany AND the VTE AND Bash AND Git. I don't know where to lookup next. Do you have any hint?
P.S. : I'm running Manjaro Linux and Geany 2.0 (built 2023-10-23)
Here's my custom startup RC file (aka `~/.vterc`):
```sh
# This file is sourced by Geany terminal (VTE). Only a subset of the
# full profile is loaded.
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# Run a selection of common profile scripts
. /etc/profile.d/aliases.sh
. /etc/profile.d/gcc-colors.sh
. /etc/profile.d/histrc.sh
# Include this profile's aliases
[ -f "$HOME/.sh_aliases" ] && . $HOME/.sh_aliases
# To be run only under bash
if test "$BASH"; then
# Enable colourful terminal windows
. /etc/profile.d/prompt.sh
# Enable GIT completion
. /usr/share/bash-completion/completions/git
# Redirect history when running in Geany's terminal. Also avoid the
# ominous message "expect trouble" about screen resolution...
if ps --no-headers -p $PPID -o comm 2>/dev/null | grep -q geany; then
HISTIGNORE="$HISTIGNORE:*geany_run_script*"
HISTFILE="$HOME/.cache/geany/history"
return
fi
fi
```
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4053
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4053(a)github.com>
I am very new to Geany, and found that it did not support syntax highlighting for Pug, an HTML templating language I use in a number of projects.
Unable to find an existing project for Pug support in Geany, I have implemented a very rough and ready version and released it here:
https://github.com/wgmyers/geany-pug-support
Pug syntax is a bit odd and not really like anything obvious like C, HTML, Markdown etc, so I think that do to it properly would involve writing a lexer in C++, which is currently beyond my abilities. For now, this avoids having no syntax highlighting at all.
I hope this is helpful to someone (and if there was an existing implementation that I failed to find, my apologies, and please let me know where to find it, as it is likely better than mine is...)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4052
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4052(a)github.com>
hello there,
I was trying to compile geanylua, as my distro (fedora41) dropped geanylua after fedora23 (why? I don't know), I just needed to compile the geanylua so in configure:
`./configure --enable-geanylua`
got this error at the end of my configure:
```
checking for gtk±3.0 >= 2.12
glib-2.0 >= 2.14
gio-2.0 >= 2.18
ctpl >= 0.3… no
checking for rst2html… no
checking for lua >= 5.1
lua < 5.2… no
configure: error: Package requirements (lua >= 5.1
lua < 5.2) were not met:
Package dependency requirement ‘lua < 5.2’ could not be satisfied.
Package ‘lua’ has version ‘5.4.0’, required version is ‘< 5.2’
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
```
I cannot find any lua version manager that I can use it under my distro.
I would appreciate any help to get this done
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1387
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1387(a)github.com>
Great, thanks for testing! If you run into any issues, let me know.
> I scanned your readme and because I didn't see "code actions" or similar I presumed it wasn't there.
Yeah, I apparently missed that - will add.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/371#issuecomment-2481645357
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/371/2481645357(a)github.com>
Sorry I missed that, I scanned your readme and because I didn't see "code actions" or similar I presumed it wasn't there.
Anyways I've just tested and it works perfectly! I used the default config with no modification.
![Screenshot from 2024-11-17 21-55-32](https://github.com/user-attachments/assets/d04b4f05-d5dd-4e01-a2e…
![Screenshot from 2024-11-17 21-56-10](https://github.com/user-attachments/assets/58ff86b7-50e9-4687-afd…
> I'm on arm64 linux under macOS and haven't found the corresponding dart binaries
This is probably an issue worth raising to the Dart/Flutter teams, ARM is slowly beginning to proliferate the desktop market so they'll have to consider offering these binaries.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/371#issuecomment-2481615192
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/371/2481615192(a)github.com>
> Here is how it looks in VS Code in the context of Dart/Flutter - the Code Actions (under the refactor menu) allow quickly adding code for Flutters "widgets":
I haven't tried the Dart LSP server (I'm on arm64 linux under macOS and haven't found the corresponding dart binaries) but in general this feature should be implemented. When you right-click something in the editor, these should be present under the Commands submenu. There's also a new keybinding you can assign to quickly pop up a menu with all the available commands.
> I haven't had a chance to recompile with the latest support and try your LSP plugin
Would be useful if someone did to see if everything in geany-lsp works for Dart.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/371#issuecomment-2481440176
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/371/2481440176(a)github.com>
Sorry for the delay but I just wanted to say thanks for your work on this!
I haven't had a chance to recompile with the latest support and try your LSP plugin, but after a quick glance a worthwhile thing for Dart/Flutter users that looks to be missing is "code actions".
Here is how it looks in VS Code in the context of Dart/Flutter - the Code Actions (under the refactor menu) allow quickly adding code for Flutters "widgets":
![vscode_actions](https://github.com/user-attachments/assets/d7cd99d2-6101-4687-971d-213e38f79796)
Aside from VS Code the only other editor I've seen with this implemented is Kate, where it is available in a right-click menu called "Code Action".
Eagerly awaiting the next release!
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/371#issuecomment-2481430738
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/371/2481430738(a)github.com>
I am looking for some kind of "Console View" like it is available for example in Eclipse.
Currently a terminal / shell opens when executing a script in Geany. In this shell one can see the process streams stdout and stderr and can write to stdin of the new process.
However, I would rather eliminate this new terminal window popping up and changing focus each time I launch a script in Geany.
I think it is better to have the process communication (stdout, stdin, stderr) embedded in a view within Geany like it is done in many IDEs. The different streams could be colored e.g. stderr in red and stdin (input from the user) in green.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/675
` ... :169:47: warning: Did you forget to close this double quoted string? [SC1078]`
The SG1078 message indicates the belief there is a missing double quote. In my case this is often a mismatched bracket such as (...} or [...} already coded inside of double quotes when referencing a variable in bash. Should there be a consideration for improving this message or when it is used? Thanks for allowing me to submit this.
Bash version appears to be 1.38 Sulimar built after 2023-12-05; Using GTK+ v3.24.38 and GLib v2.74.6 runtime libraries. Running on a 64 bit Raspberry PI OS 6.6.51+rpt-rpi-v8.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4041
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4041(a)github.com>
**Geany** provides a useful drop down showing the fields and methods in a Java class if one types a **dot** beside a variable referencing an object in that class.
In the image below, I have just typed a dot on line **78** and in the drop down we can see that field **eeeeeeee** defined on line **87** is a possible choice to follow the dot:
![geanyDotHelp](https://github.com/user-attachments/assets/edd17016-e441-4383-9a03-ad907db54745)
Please could **Geany** also display any comment associated with that field definition as this would significantly further assist the user in their choice of the correct field or method name ?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4050
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4050(a)github.com>