Thanks for your answer. Amin
On Wed, 2022-05-18 at 22:43 +1000, Lex Trotman wrote: > On Wed, 18 May 2022 at 21:11, Mohammad Amin Razbani > <[email protected]> wrote: > > > > This is the code I used as a test: > > > > #include <iostream> > > using namespace std; > > int main() { > > int C=2; > > int D; > > D=C+2; > > cout << D << endl; > > return 0; > > } > > > > For the above I get `main` as a symbol, thats the only one that should > show. > > For 1.38 no local variables are parsed, so only main is recognised. > > There is work ongoing to enable locals for C/C++ for the next version, > but even then its been decided that they won't show in the symbols tab > because it seems to become far too busy if all locals show. > > But locals will show in autocomplete lists and maybe goto if the work > is completed before the next release. > > Cheers > Lex > > > Cheers, > > Amin > > > > On Wed, 2022-05-18 at 20:41 +1000, Lex Trotman wrote: > > > On Wed, 18 May 2022 at 19:30, Mohammad Amin Razbani > > > <[email protected]> wrote: > > > > > > > > Thanks for your answer. It's saved in cpp format. > > > > > > In that case you need to provide more information, for example the > > > file contents. > > > > > > Cheers > > > Lex > > > > > > > > > > > Cheers, > > > > Amin > > > > > > > > On Wed, 2022-05-18 at 10:17 +1000, Lex Trotman wrote: > > > > > Did you save the code in a file with the .cpp extension? > > > > > > > > > > The Geany symbols system requires that a document have a filename > > > > > to > > > > > separate the symbols from other documents and from global ones. > > > > > > > > > > Cheers > > > > > Lex > > > > > > > > > > On Tue, 17 May 2022 at 23:21, Mohammad Amin Razbani > > > > > <[email protected]> wrote: > > > > > > > > > > > > Hi, > > > > > > > > > > > > When I type my code in C++ like a hello world program inside > > > > > > Geany, > > > > > > it > > > > > > doesn't list variables I create on the symbol panel. As a > > > > > > result, I > > > > > > cannot > > > > > > use "go to function definition" and navigate inside the code. > > > > > > Could > > > > > > you > > > > > > please help me to resolve this issue. This functionality works > > > > > > fine > > > > > > with > > > > > > python. I use ubuntu 18.04 and Geany 1.38. > > > > > > > > > > > > Best regards > > > > > > Amin > > > > > > > > > > > > _______________________________________________ > > > > > > Users mailing list > > > > > > [email protected] > > > > > > https://lists.geany.org/cgi-bin/mailman/listinfo/users > > > > > > > > > > _______________________________________________ > > > > > Users mailing list > > > > > [email protected] > > > > > https://lists.geany.org/cgi-bin/mailman/listinfo/users > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > [email protected] > > > > https://lists.geany.org/cgi-bin/mailman/listinfo/users > > > > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > > https://lists.geany.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > > Users mailing list > > [email protected] > > https://lists.geany.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > https://lists.geany.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] https://lists.geany.org/cgi-bin/mailman/listinfo/users
