Geany is my all-time favourite IDE for C, C++, Python, HTML, JavaScript and just about anything else that requires a high-powered text-editor. Thanks!
What would make Geany even better is if part of the main toolbar (maybecould be used to add additional buttons for build commands that aren't just 'Build' or 'Compile'. Just like the build commands are customisable, I'd like to add toolbar buttons for custom per-project build commands that I use often. Maybe make it a plug-in!
Thanks for a great IDE! 😄
--
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/1550
>From my early tests it works fine loading and saving embedded NUL bytes, but I expect many features not to work properly (although e.g. regex search seems happy, yet displaying results not so much). It however should help getting to a point where these could be handled properly, and is handy also for slightly broken files and alike.
Anyway for now such files are loaded read-only and display a warning to the user to avoid most problems.
Related to (and should fix for the most part) #618 and #1708 (and possibly others).
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1709
-- Commit Summary --
* Avoid weird length value
* Add sci_set_text_with_length()
* Don't cut the loaded data at the first NUL when passing it to Scintilla
* Don't cut UTF-8 documents at the first NUL byte when saving them
* encodings: Accept NULs when validating UTF-8
* Properly load files with embedded NULs
* Show an infobar for files with embedded NULs
-- File Changes --
M src/document.c (58)
M src/documentprivate.h (1)
M src/encodings.c (118)
M src/encodingsprivate.h (2)
M src/sciwrappers.c (10)
M src/sciwrappers.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/1709.patchhttps://github.com/geany/geany/pull/1709.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/1709
Support here is *optional*, as in it does *not* require even the GIR M4 macros to be available -- but then the generated build system can't generate GIR. This avoids a hard dependency on GIR for the cost of a configure-time conditional with basic fallback definitions.
As stated in the first commit, it's mostly ripped off Peasy, maybe there are additional change required, but it seems to mostly work. However, I see a lot of scary warnings like these:
```
…/doc/geany-sciwrappers-gtkdoc-tmp.h:25: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_set_text (ScintillaObject *sci, const gchar *text);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:25: syntax error, unexpected ')', expecting ',' or ';' in 'void scintilla_object__GI__MARK_set_text (ScintillaObject *sci, const gchar *text);' at ')'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:43: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_start_undo_action (ScintillaObject *sci);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:64: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_end_undo_action (ScintillaObject *sci);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:84: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_set_marker_at_line (ScintillaObject *sci, gint line_number, gint marker);' at '*'
```
@codebrainz @kugel-
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1112
-- Commit Summary --
* Add support for building GIR
* Force enabling GObject-Introspection for distcheck
-- File Changes --
M Makefile.am (2)
M configure.ac (12)
M doc/Makefile.am (69)
-- Patch Links --
https://github.com/geany/geany/pull/1112.patchhttps://github.com/geany/geany/pull/1112.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/1112
**Problem**
Whenever I create a new project, the `Set Build Commands` dialogue is populated with the standard Geany build commands. For example `Compile: g++ -Wall -c "%f"`.
All my projects use the same build tools, which are more elaborate than the standard ones. I use explicit `make` commands for compiling single files as well as building the entire project. Configuring the dialogue in exactly the same way for each new project is time-consuming.
**Geany manual**
The [Build menu configuration]( https://www.geany.org/manual/current/index.html#id154) section in the manual seems to suggest that by placing a `[build-menu]` section in` filetypes.cpp`, then custom entries for the `Set Build Commands` dialogue can be configured to be the same for all new projects. However, this does not happen.
**My Current Workaround**
I have made a template for the `[build-menu]` section. When I create a new project, I copy the` [build-menu]` section to the `newproject.geany` file.
**Request**
It would be convenient if there was a way to use a template to populate the build commands dialogue at the point of project creation.
**My System**
```
~$ geany -V
geany 1.29 (built on 2016-11-16 with GTK 2.24.31, GLib 2.50.2)
~$ uname -a
Linux debian-deskside 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64 GNU/
```
--
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/1975
In Elm-community it is the norm to use a command `elm-format` to automatically format the file according to formatting standards.
While I can add this command to Build Commands and then run it, after that I need to either
A) press Ctrl-R and answer the prompt to reload the file
B) wait until Geany detects that file has changed and answer the prompt to reload the file
To use `elm-format` properly there should be an option for Geany to reload the file after running the build command without any prompts.
--
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/1983
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 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
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