If use macros in function declaration geany show it instead of really name. For example if use macros
`#define shared_ptr(T) std::shared_ptr<T>`
in func
``` void my::myclass::func ( shared_ptr (T1) t1, shared_ptr (T2) t2) { } ``` it see shared_ptr[80]
I'm used version from Calculate Linux 1.25 and 1.28 ``` darkprof@calculate ~ $ eix geany [I] dev-util/geany Доступные версии: 1.24.1{tbz2} 1.25{tbz2} ~1.26 ~1.27 (~)1.28 {gtk3 +vte} Установленные версии: 1.28(18:26:52 09.08.2016)(vte -gtk3) Домашняя страница: http://www.geany.org Описание: GTK+ based fast and lightweight IDE
[I] dev-util/geany-plugins Доступные версии: 1.23 1.24-r1{tbz2} 1.25{tbz2} ~1.26 {+autoclose +automark +commander ctags debugger +defineformat devhelp enchant git gpg gtkspell lua markdown multiterm nls +overview python scope soup webkit PYTHON_TARGETS="python2_7"} Установленные версии: 1.25{tbz2}(23:11:56 26.06.2016)(autoclose automark commander defineformat nls overview webkit -ctags -debugger -devhelp -enchant -git -gpg -gtkspell -lua -markdown -multiterm -python -scope -soup PYTHON_TARGETS="python2_7") Домашняя страница: http://plugins.geany.org/geany-plugins Описание: A collection of different plugins for Geany
[I] x11-themes/geany-themes Доступные версии: 1.22.2{tbz2} ~1.22.2-r1 Установленные версии: 1.22.2{tbz2}(12:07:36 06.08.2015) Домашняя страница: https://github.com/codebrainz/geany-themes Описание: A collection of colour schemes for Geany
Найдено 3 совпадение. darkprof@calculate ~ $ ```
--- 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/1172
Closed #1172.
--- 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/1172#event-750643396
This is intended behaviour, the symbols tooltip and calltips show the declaration as it exists. It does not expand aliases, or templates or typedefs either.
--- 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/1172#issuecomment-238730992
But if you need fast method for move to function, you press name on left panel... And you do not found 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/1172#issuecomment-238777733
Reopened #1172.
--- 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/1172#event-750913168
Oh I see what you mean, you have syntax like:
``` #define g(a) ... void f( g(h) a ){} ```
But without C pre-processing the second line is illegal C/C++ syntax so the parser is confused and generates the wrong symbol.
To quote the Geany maintainer "Its very unlikely that pre-processing will be done" so its probably going to remain a limitation.
But a better way to do this (in C++) is to use an alias:
``` template <typename T> using shared_ptr = std::shared_ptr<T>; void func( shared_ptr<T1> t1 ) {} ```
That is subject to bug #975 but at least it doesn't confuse the parser and isn't an evil macro.
--- 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/1172#issuecomment-238786475
Thanks for your advice, I use 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/1172#issuecomment-238793127
github-comments@lists.geany.org