I'd like to be able to set up a build that would run a single Java (JUnit) test. I've been able to set up a build that will run all tests from the current class (via Maven, in this case):
CLASSNAME=$(echo %f |sed 's|[\].java||'); mvn -Dtest=${CLASSNAME} test
(feedback on better approaches is welcome)
But there just aren't any string substitutions that will allow me to specify parts of a class.
Some options for how this could be achieved:
- Provide a placeholder representing the current text selection, eg %s
- Allow more than one build entry to have the custom input dialog that "Make Custom Target..." gets. I already use that one to build arbitrary Maven targets, but it would be nice to have a second, more specialised one where I could just paste in a test name and run that.
- Ideally, I'd love to have a placeholder that would substitute the current function name (determined in the same way as the Symbols sidebar), but that's probably more complicated.
--
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/1986
I have a question about VhdlKinds table in geany/ctags/parsers/vhdl.c.
```
static kindOption VhdlKinds [] = {
...
{ true, 'f', "function", "functions" },
{ true, 'p', "function", "procedure" },
```
Why is 'p' kind named to "function"?
The kind name is already used for 'f'.
With my experience being a Universal-ctags developer more than 3 years, I think
```
{ true, 'p', "procedure", "procedure" },
```
or
```
{ true, 'p', "proc", "procedure" },
```
is better. However, I don't know well about geany. So I can misunderstand the context of reusing the kind names. My tool based on ctags-api.[ch] reports reusing only are is found only in vhdl parser:
```
Vhdl[22]...ok <crafted>
c/variable...ok
t/typedef...ok
v != c/variable...unmatch
a/attribute...ok
s != c/variable...unmatch
f/function...ok
p != f/function...unmatch
k/member...ok
l/namespace...ok
m != k/member...unmatch
n/class...ok
o/struct...ok
u/port...ok
b != k/member...unmatch
A != t/typedef...unmatch
```
--
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/2052
I noticed this warning on buster and slack current, both using gcc8.
This fixes the warning (caused by mixed tabs/spaces indentation):
```
bptree.c: In function ‘on_hitscount_changed’:
bptree.c:373:5: warning: this ‘if’ clause does not guard...
[-Wmisleading-indentation]
if (oldcount != count)
^~
bptree.c:376:2: note: ...this statement, but the latter is misleadingly
indented as if it were guarded by the ‘if’
gtk_tree_path_free(tree_path);
^~~~~~~~~~~~~~~~~~
```
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/816
-- Commit Summary --
* debugger/bptree.c:fix compiler warning
-- File Changes --
M debugger/src/bptree.c (6)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/816.patchhttps://github.com/geany/geany-plugins/pull/816.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-plugins/pull/816
I have not been able to find a setting for this. I hope I've just missed it. On a new install of Fedora 28 Mate with geany 1.33 I'm finding that clicking on the horizontal or vertical, up or down arrows on the scrollbar is virtually useless. A single click doesn't appear to move at all. It's only apparent that there is any movement when you hold down on the mouse and then it's at a very slow crawl, vertically about 2 lines a second, horizontally less than a character per second. I can't imagine that this is the default expected behavior. Is there a setting or a fix for this?
--
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/1904
Do not require pkg-config to emit spaces around elements in its `--print-requires` output.
This should fix Geany GTK version check on OpenBSD 6.4.
---
@andy5995 could you check this and see if it helps? Once configured, you should get something like that (obviously with GTK2 version of it if you've got a GTK2 build):
```shell
$ grep ^GP_GTK_ config.log
GP_GTK_PACKAGE='gtk+-3.0'
GP_GTK_VERSION='3.0'
GP_GTK_VERSION_MAJOR='3'
```
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/815
-- Commit Summary --
* Don't rely on a pkg-config output formatting detail
-- File Changes --
M build/gtk.m4 (5)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/815.patchhttps://github.com/geany/geany-plugins/pull/815.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-plugins/pull/815
This makes updating your preferences an unduly laborious process, as chances are, you have more than one instance of Geany open when you go to update them. The solution right now is to either do this when you only have one open, and then close it, or to close all instances of Geany in the correct order.
It would be nice if Geany updated the preferences when you hit "Apply"/"OK" rather than when the editor is closed.
--
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/1934
I've installed Geany and loaded up a homework assignment so I don't have to be on campus to work. When I try to compile any of the .java files, however, I get the error message in the title. I'm using version 1.33.
--
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/1939
Latest version of Geany V1.29 on Raspian 4.14.72
with Python 3.5.3-1
I can not get "Hello World" to run anymore.
Program:
print ("Hello World")
Build cmd:
python3 -m py_compile "%f"
Execute cmd:
python3 "%d/%f"
Python Version:
sudo apt install python3
-> python3 is already the newest version (3.5.3-1).
When executing python program "Hello World"
it creates a cmd window:
see attachment
![cmd_hello_2018-10-01](https://user-images.githubusercontent.com/23412806/46272584-fa782200-c551-11e8-98d1-eb076bd92a5a.png)
Any suggestions?
--
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/1965
Often fail when copy some text from geany, and a lot of message such as
> Gdk CRITICAL : inner_clipboard_window_procedure: assertion 'success' failed
in Help --> Debug Message.
It seems like gtk/gdk error. How to fix 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/issues/1974