ctags sets the tag's "local" flag to true for tags whose visibility is
limited to the current file only. These are for instance "static" functions
in C.
We can ignore these tags for autocompletion in other files than the
tag's file which reduces the number of irrelevant tags in the
autocompletion popup.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3268
-- Commit Summary --
* Ignore local tags for autocompletion in other files
-- File Changes --
M src/tagmanager/tm_workspace.c (7)
-- Patch Links --
https://github.com/geany/geany/pull/3268.patchhttps://github.com/geany/geany/pull/3268.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3268
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3268(a)github.com>
Standard gettext should be used over glib's glue these days.
AM_GLIB_GNU_GETTEXT and glib-gettextize are deprecated. This helps
possible meson build (no concrete plans yet) as well as working with
intltool is harder over there. gettext, on the other hand, is supported
out of the box in meson.
Beware, autopoint is a new dependency when building from git,
should not affect tarballs. Also, it's already required by Geany core.
Additionally, autogen.sh follows Geany's autogen.sh more closely,
allowing for out-of-tree builds.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1183
-- Commit Summary --
* Use standard gettext, following Geany core.
* Fix issues found by standard gettext
* Update po files after gettext transition.
-- File Changes --
M .github/workflows/build.yml (1)
M .gitignore (7)
M autogen.sh (11)
M build/common.m4 (1)
M build/i18n.m4 (10)
M configure.ac (8)
A po/LINGUAS (1)
A po/Makevars (82)
M po/POTFILES.in (8)
M po/be.po (710)
M po/ca.po (771)
M po/da.po (697)
M po/de.po (966)
M po/el.po (690)
M po/es.po (952)
M po/fr.po (950)
M po/gl.po (780)
M po/it.po (847)
M po/ja.po (770)
M po/kk.po (720)
M po/nl.po (812)
M po/pt.po (0)
M po/pt_BR.po (0)
M po/ru.po (0)
M po/tr.po (0)
M po/uk.po (0)
M po/zh_CN.po (0)
M treebrowser/src/treebrowser.c (0)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1183.patchhttps://github.com/geany/geany-plugins/pull/1183.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1183
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1183(a)github.com>
The current code assumes that the whole `var_type` string consists of the
anonymous type name. This works for simple cases like
```
struct {} X;
```
where `X` is of the type `__anonXXXX` but not for cases like
```
struct {} X[2];
```
where `X` is of type `__anonXXXX[]`.
For these cases checking for equality of `var_tag->var_type`, `orig_name` isn't
sufficient and we have to check whether `orig_name` is a substring
of `var_tag->var_type` and replace this substring with the new anon name.
This problem can be seen for instance in the symbol tree tooltip of
the `symbols_icons` variable inside `symbols.c`.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3273
-- Commit Summary --
* Fix renaming tag type containing anonymous type
-- File Changes --
M src/tagmanager/tm_ctags.c (12)
-- Patch Links --
https://github.com/geany/geany/pull/3273.patchhttps://github.com/geany/geany/pull/3273.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3273
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3273(a)github.com>
I'm here to request for vue language support such as syntax highlight.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3214
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3214(a)github.com>
Hi.
When renaming a file opened in geany with `disk_check_timeout!=0` a prompt is correctly displayed. Renaming it back again, and reloading it (File->Reload) everything *seems* fine. However, if the project is then closed and reopened, that file is gone.
I did not totally verify this, but my educated guess is:
In document.c:monitor_resave_missing_file the `real_path` of the missing is set to null `SETPTR(doc->real_path, NULL);`
Reloading the file does not change this.
In keyfile.c:configuration_save_session_files
`if (doc != NULL && doc->real_path != NULL)`
`real_path` is still null (unless manually saved before), so the file is gone.
Suggested fix (seems to be working):
~~~
document.c:document_open_file_full
if (! reload)
{
doc = document_create(utf8_filename);
g_return_val_if_fail(doc != NULL, NULL); /* really should not happen */
/* file exists on disk, set real_path */
SETPTR(doc->real_path, utils_get_real_path(locale_filename));
doc->priv->is_remote = utils_is_remote_path(locale_filename);
monitor_file_setup(doc);
}
+ else {
+ if( doc != NULL ){
+ SETPTR(doc->real_path, utils_get_real_path(locale_filename));
+ }
+ }
~~~
Thanks.
Tycho
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3202
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3202(a)github.com>
Allow to set a custom shortcut for every custom command, possibly checking conflicts.
Related:
https://github.com/geany/geany/issues/2730
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3272
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/3272(a)github.com>